"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "linotpd/src/linotp/tokens/base/__init__.py" between
LinOTP-release-2.12.1.tar.gz and LinOTP-release-2.12.2.tar.gz

About: LinOTP is a flexible and versatile OTP-platform for strong user authentication (two-factor authentication with one time passwords).

__init__.py  (LinOTP-release-2.12.1):__init__.py  (LinOTP-release-2.12.2)
skipping to change at line 950 skipping to change at line 950
if 'scope' in param: if 'scope' in param:
scope = json.loads(param.get('scope', {})) scope = json.loads(param.get('scope', {}))
elif 'rollout' in param: elif 'rollout' in param:
scope = {'path' : ['userservice']} scope = {'path' : ['userservice']}
if scope: if scope:
self.addToTokenInfo('scope', scope) self.addToTokenInfo('scope', scope)
if not param.get('description'): if not param.get('description'):
if scope.get('path',[]) == ['userservice']: path = scope.get('path',[])
if set(path) & set(['userservice', 'validate']):
param['description'] = 'rollout token' param['description'] = 'rollout token'
if param.get("description"): if param.get("description"):
self.token.setDescription(param.get("description")) self.token.setDescription(param.get("description"))
# ----------------------------------------------------------------- -- # ----------------------------------------------------------------- --
self.resetTokenInfo() self.resetTokenInfo()
return return
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)