Remove all 'useLocal' params
This commit is contained in:
+1
-4
@@ -30,7 +30,6 @@ type Param = {
|
||||
token?: boolean;
|
||||
user_id?: string | number;
|
||||
skipPassword?: boolean;
|
||||
useLocal?: boolean;
|
||||
debug?: boolean;
|
||||
skipWriteAuthFile?: boolean;
|
||||
apiUserID?: string | number;
|
||||
@@ -54,7 +53,6 @@ export default async function loginUser({
|
||||
token,
|
||||
user_id,
|
||||
skipPassword,
|
||||
useLocal,
|
||||
apiUserID,
|
||||
skipWriteAuthFile,
|
||||
dbUserId,
|
||||
@@ -128,7 +126,7 @@ export default async function loginUser({
|
||||
DSQL_DB_USERNAME?.match(/./) &&
|
||||
DSQL_DB_PASSWORD?.match(/./) &&
|
||||
DSQL_DB_NAME?.match(/./) &&
|
||||
useLocal
|
||||
global.DSQL_USE_LOCAL
|
||||
) {
|
||||
let dbSchema: DSQL_DatabaseSchemaType | undefined;
|
||||
|
||||
@@ -152,7 +150,6 @@ export default async function loginUser({
|
||||
email_login_code,
|
||||
email_login_field: emailLoginTempCodeFieldName,
|
||||
token,
|
||||
useLocal,
|
||||
dbUserId,
|
||||
debug,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user