-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mod_oauth2: change the per UG 2FA setting to '3' (force), instead of …
…'2' (nagging) (#3154) * mod_oauth2: change the per UG 2FA setting to '3' (force), instead of '2' (nagging) * Update m_auth2fa.erl Co-authored-by: Rob van den Bogaard <rob@driebit.nl>
- Loading branch information
1 parent
cf2b546
commit 4493e72
Showing
6 changed files
with
39 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{# This template is only shown iff no passcode entry field is shown. #} | ||
{% if m.config.mod_auth2fa.mode.value == "3" %} | ||
{% include "_logon_login_set_passcode.tpl" is_reset %} | ||
{% if m.auth2fa[user_id].user_mode == 3 %} | ||
{% include "_logon_login_set_passcode.tpl" is_reset user_id=user_id %} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters