We also allow non admins to use the webadmin

This commit is contained in:
Johannes Zellner
2015-10-13 15:13:36 +02:00
parent bc6f602891
commit d5d1d061bb

View File

@@ -610,7 +610,7 @@ angular.module('Application').service('Client', ['$http', 'md5', 'Notification',
this._userInfo = {};
var callbackURL = window.location.protocol + '//' + window.location.host + '/login_callback.html';
var scope = 'root,profile,apps,roleAdmin';
var scope = 'root,profile,apps,roleUser';
// generate a state id to protect agains csrf
var state = Math.floor((1 + Math.random()) * 0x1000000000000).toString(16).substring(1);