1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

Set user admin max results and Keycloak sync option

This commit is contained in:
McMatts 2018-08-20 17:17:25 +01:00
parent 2c8b757ff6
commit 351b8dcc12
13 changed files with 100 additions and 31 deletions

View file

@ -41,7 +41,11 @@ export default Route.extend({
this.get("session").authenticate('authenticator:keycloak', data).then(() => {
this.transitionTo('folders');
}, (reject) => {
this.set('message', reject.Error);
if (is.not.undefined(reject.Error)) {
this.set('message', reject.Error);
} else {
this.set('message', reject);
}
this.set('mode', 'reject');
resolve();
});