Skip to content
Snippets Groups Projects
Verified Commit 1eade2df authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Provide alternativ login options as backend list, too

parent aac78363
No related branches found
No related tags found
No related merge requests found
......@@ -323,6 +323,11 @@ def custom_information_processor(request: HttpRequest) -> dict:
return {
"FOOTER_MENU": CustomMenu.get_default("footer"),
"ALTERNATIVE_LOGIN_VIEWS_LIST": [
a[0]
for a in settings.ALTERNATIVE_LOGIN_VIEWS
if a[0] in settings.AUTHENTICATION_BACKENDS
],
"ALTERNATIVE_LOGIN_VIEWS": [
a for a in settings.ALTERNATIVE_LOGIN_VIEWS if a[0] in settings.AUTHENTICATION_BACKENDS
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment