Commit 58e8e0ba authored by Jérome Perrin's avatar Jérome Perrin

password valid

parent 9472620d
......@@ -17,8 +17,8 @@ def doValidation(login, password):
user_login = request.get('field_user_login', None)
# find login account provider and validate it on it (password recovered for an existing account)
if user_login:
login = context.Base_getLoginValueByUserName(user_login)
if user is not None:
return doValidation(login, password)
login_value = context.Base_getLoginValueByUserName(user_login)
if login_value is not None:
return doValidation(login_value, password)
return doValidation(context, password)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment