From de62c76a00ed6ee5efcf692dbd6b743bc102b4a4 Mon Sep 17 00:00:00 2001 From: REJack Date: Fri, 8 Feb 2019 12:44:13 +0100 Subject: [PATCH] renamed linkTotp to totpLink --- CHANGES.md | 2 +- app/Config/Aauth.php | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 6415d1e..c400ab7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -53,7 +53,7 @@ - no_permission => linkNoPermission - reset_password_link => linkResetPassword - verification_link => linkVerification - - totp_two_step_login_redirect => linkTotp + - totp_two_step_login_redirect => totpLink - verification => userVerification - additional_valid_chars => userRegexPattern - min => passwordMin diff --git a/app/Config/Aauth.php b/app/Config/Aauth.php index d785abe..3ac562f 100644 --- a/app/Config/Aauth.php +++ b/app/Config/Aauth.php @@ -49,15 +49,10 @@ class Aauth extends BaseConfig | Link for verification without site_url or base_url | (default: '/account/verification/index') | - | 'linkVerification' - | - | Redirect path to TOTP Verification page - | (default: '/account/twofactor_verification/index') */ public $linkNoPermission = false; public $linkResetPassword = '/account/reset_password/index'; public $linkVerification = '/account/verification/index'; - public $linkTotp = '/account/twofactor_verification/index'; /* |-------------------------------------------------------------------------- @@ -234,11 +229,17 @@ class Aauth extends BaseConfig | | TOTP required if uses has TOTP secret on login() | (default: false) + | + | 'totpLink' + | + | Redirect path to TOTP Verification page + | (default: '/account/twofactor_verification/index') */ public $totpEnabled = false; public $totpOnIpChange = false; public $totpResetPassword = false; public $totpLogin = false; + public $totpLink = '/account/twofactor_verification/index'; /* |--------------------------------------------------------------------------