Status Lockbar bei GetLifeTime wird mitgesendet

This commit is contained in:
Tim Gröger 2020-07-27 10:01:01 +02:00
parent 964865a731
commit fac8afab03
2 changed files with 2 additions and 10 deletions

View File

@ -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

View File

@ -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)