mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-05-28 04:02:39 -04:00
`TwoFactorChallengeForm` renders the second login step: a token input, a "Verify" submit button, and a "Back to login" link button. `onSuccess()` calls `TwoFactorHook::loadEnrolled()` and `TwoFactor::verify()` to verify the token, calls `Auth::setAuthenticated()`, persists the `RememberMe` cookie if one was stashed, completes the challenge, fires `AuthenticationHook::triggerLogin()`, and redirects. Add `.btn-back-to-login-link` to `login.less`. A link-styled submit button with an arrow to the left with an underline on hover. |
||
|---|---|---|
| .. | ||
| css | ||
| font | ||
| img | ||
| js | ||
| error_norewrite.html | ||
| error_unavailable.html | ||
| index.php | ||