authelia/internal
Clément Michaud d1d02d9eae
[FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611)
* Redirect to default URL after 1FA when default policy is one_factor.

User is now redirected to the default redirection URL after 1FA if
the default policy is set to one_factor and there is no target URL
or if the target URL is unsafe.

Also, if the default policy is set to one_factor and the user is already
authenticated, if she visits the login portal, the 'already authenticated'
view is displayed with a logout button.

This fixes #581.

* Update users.yml

* Fix permissions issue causing suite test failure
2020-02-05 08:18:02 +11:00
..
authentication Escape special LDAP characters as suggested by OWASP. 2020-01-21 09:46:17 +11:00
authorization [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
commands Add hash-password and migrate commands to authelia binary. 2020-01-22 11:53:15 +11:00
configuration [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
duo Move source code into internal directory to follow standard project layout. 2019-11-17 16:30:33 +01:00
handlers [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
logging Misc Spelling Corrections 2020-01-21 12:16:00 +11:00
middlewares [FIX] Fix default redirection URL not taken into account (#600) 2020-02-01 13:54:50 +01:00
mocks [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
models Move source code into internal directory to follow standard project layout. 2019-11-17 16:30:33 +01:00
notification [FIX] SMTP Notifier Unhandled Error Conditions (#585) 2020-01-28 15:19:54 +11:00
regulation [FIX] Disable regulation when max_retries set to 0 (#584) 2020-01-27 22:54:24 +11:00
server [FIX] Fix default redirection URL not taken into account (#600) 2020-02-01 13:54:50 +01:00
session Disable inactivity timeout when user checked remember me. 2020-01-18 00:12:36 +01:00
storage Fix spelling errors 2020-01-10 11:33:18 +01:00
suites [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
templates Force TLS and valid x509 certs in SMTP Notifier by default 2020-01-10 17:37:16 +01:00
utils [FIX] Fix default redirection URL not taken into account (#600) 2020-02-01 13:54:50 +01:00