Commit 06cb4783 authored by Vincent Pelletier's avatar Vincent Pelletier

Revert "ERP5Security: Ignore login leading- and trailing-whitespaces."

This reverts commit bf003551.
This commit will be re-applied along with necessary unit test changes.
parent bf003551
...@@ -133,7 +133,6 @@ class ERP5UserManager(BasePlugin): ...@@ -133,7 +133,6 @@ class ERP5UserManager(BasePlugin):
if not login or not (password or ignore_password): if not login or not (password or ignore_password):
return None return None
login = login.strip()
user_list = self.getUserByLogin(login) user_list = self.getUserByLogin(login)
if not user_list: if not user_list:
......
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