backend-plus 2.5.2-betha.25 → 2.5.2-betha.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/backend-plus.d.ts +1 -0
- package/lib/backend-plus.js +1 -1
- package/package.json +1 -1
package/lib/backend-plus.d.ts
CHANGED
|
@@ -401,6 +401,7 @@ export interface AppConfigServer
|
|
|
401
401
|
bitacoraTableName: string
|
|
402
402
|
useCors: boolean //habilita Cross-Origin Resource Sharing
|
|
403
403
|
allowedHosts:string[] //determina API allowed hosts (necesita habilitar useCors)
|
|
404
|
+
policy?:string
|
|
404
405
|
}
|
|
405
406
|
export interface AppConfigDb
|
|
406
407
|
{
|
package/lib/backend-plus.js
CHANGED
|
@@ -1127,7 +1127,7 @@ AppBackend.prototype.start = function start(opts){
|
|
|
1127
1127
|
username = username.toLowerCase().trim();
|
|
1128
1128
|
}
|
|
1129
1129
|
client = await be.getDbClient(req);
|
|
1130
|
-
client.query("CALL set_app_user('!login')").execute();
|
|
1130
|
+
await client.query("CALL set_app_user('!login')").execute();
|
|
1131
1131
|
const {passFieldName, rolFieldName, userFieldName} = be.config.login;
|
|
1132
1132
|
var infoFieldList=(
|
|
1133
1133
|
be.config.login.infoFieldList||(
|
package/package.json
CHANGED