Commit 6aaa8710 authored by Łukasz Nowak's avatar Łukasz Nowak

Explain fallback.

parent 7e200c2a
...@@ -121,6 +121,9 @@ class ERP5UserManager(BasePlugin): ...@@ -121,6 +121,9 @@ class ERP5UserManager(BasePlugin):
login = credentials.get('login') login = credentials.get('login')
ignore_password = False ignore_password = False
if not login: if not login:
# fallback to support plugins using external tools to extract login
# those are not using login/password pair, they just extract login
# from remote system (eg. SSL certificates)
login = credentials.get('external_login') login = credentials.get('external_login')
ignore_password = True ignore_password = True
# Forbidden the usage of the super user. # Forbidden the usage of the super user.
......
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