From ebe840b4e20e66f879ebb2ca03ea2e86c06ce1ad Mon Sep 17 00:00:00 2001 From: Masayuki Nii Date: Tue, 25 Jun 2024 15:50:26 +0900 Subject: [PATCH] Auth panels customizing. --- params.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/params.php b/params.php index 555361ec0..f360bdec0 100644 --- a/params.php +++ b/params.php @@ -144,7 +144,6 @@ /* Authorization * =================== */ - $authStoring = 'credential'; // 'session-storage' or 'credential' $authExpired = 3600; //$authRealm = ''; @@ -153,16 +152,17 @@ //$alwaysGenSHA2 = true; // On the password changing, generate SHA-2 hash. The default is false. //$migrateSHA1to2 = true;// If the login account relays on SHA-a, exchange it with 2m style SHA-2 hash. The default is false. //$credentialCookieDomain = ""; // The domain information of the cookie for 'credential' auth. Falsy value means no domain, also the default. -$isRequired2FA = true; // Default is false. +//$isRequired2FA = true; // Default is false. //$mailContext2FA = "mailtemplate@id=995"; // Template record for the mail to send the 2FA code. //$digitsOf2FACode = 6; // Default is 4. //$expiringSeconds2FA = 1000; // 2FA effective seconds from code input. $fixed2FACode = "5555"; // Fixed 2FA code for the testing purpose. On the real system, this has to comment out. -$authPanelTitle= "そうだ"; // Auth Panel's title -$authPanelTitle2FA= null; // 2FA Auth Panel's title -$authPanelExp= "温泉に行こう"; // Auth Panel's explanations -$authPanelExp2FA= null; // 2FA Auth Panel's explanations +/* Authentication panels customizing */ +//$authPanelTitle= "そうだ"; // Auth Panel's title +//$authPanelTitle2FA= null; // 2FA Auth Panel's title +//$authPanelExp= "温泉に行こう"; // Auth Panel's explanations +//$authPanelExp2FA= null; // 2FA Auth Panel's explanations // The 'issuedhash' table for storing challenges of authentication can be use another database. //$issuedHashDSN = 'sqlite:/var/db/im/sample.sq3';