Skip to content
Snippets Groups Projects
Commit 9c749df8 authored by Olimpia Magliulo's avatar Olimpia Magliulo
Browse files

Add login.php and related twig template

Based on authenticate.php, login.php adds lines 6-26.
The script returns the possible authentication methods for the user, excluded admin.
When only one method is available the user is redirected to the one authentication-method login page.
Calls to right templates are updated at lines 17 and 54.

When no method is found, the user needs to login with admin credentials and check configuration.
The text shown in template is not translated.
parent 61f4f1dc
No related branches found
No related tags found
No related merge requests found
Loading
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