"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "linotpd/src/linotp/lib/userservice.py" between
LinOTP-release-2.11.1.tar.gz and LinOTP-release-2.11.2.tar.gz

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

userservice.py  (LinOTP-release-2.11.1):userservice.py  (LinOTP-release-2.11.2)
skipping to change at line 79 skipping to change at line 79
from linotp.lib.realm import getDefaultRealm from linotp.lib.realm import getDefaultRealm
from linotp.lib.context import request_context from linotp.lib.context import request_context
import logging import logging
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
# const for encryption and iv # const for encryption and iv
SECRET_LEN = 32 SECRET_LEN = 32
# const - timeformat used in session cookie # const - timeformat used in session cookie
TIMEFORMAT = "%Y-%m-%d %H:%M:%S" TIMEFORMAT = "%a, %d %b %Y %H:%M:%S GMT"
Cookie_Cache = {} Cookie_Cache = {}
def get_userinfo(user): def get_userinfo(user):
(uid, resolver, resolver_class) = getUserId(user) (uid, resolver, resolver_class) = getUserId(user)
uinfo = getUserInfo(uid, resolver, resolver_class) uinfo = getUserInfo(uid, resolver, resolver_class)
if 'cryptpass' in uinfo: if 'cryptpass' in uinfo:
del uinfo['cryptpass'] del uinfo['cryptpass']
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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