Status Lockbar bei GetLifeTime wird mitgesendet
This commit is contained in:
parent
964865a731
commit
fac8afab03
|
@ -1,9 +0,0 @@
|
|||
AccessTokenLifeTime: 1800
|
||||
Database:
|
||||
URL: 192.168.5.128
|
||||
user: wu5
|
||||
passwd: E1n$tein
|
||||
database: geruecht
|
||||
LDAP:
|
||||
URL: ldap://192.168.5.128
|
||||
dn: dc=ldap,dc=example,dc=local
|
|
@ -108,7 +108,8 @@ def _getLifeTime(**kwargs):
|
|||
accToken = kwargs['accToken']
|
||||
debug.debug("accessToken is {{ {} }}".format(accToken))
|
||||
retVal = {"value": accToken.lifetime,
|
||||
"group": accToken.user.toJSON()['group']}
|
||||
"group": accToken.user.toJSON()['group'],
|
||||
"lock_bar": accToken.lock_bar}
|
||||
debug.info(
|
||||
"return get lifetime from accesstoken {{ {} }}".format(retVal))
|
||||
return jsonify(retVal)
|
||||
|
|
Loading…
Reference in New Issue