mirror of
https://github.com/e107inc/e107.git
synced 2025-07-24 16:31:48 +02:00
@@ -535,7 +535,7 @@ TMPO;
|
||||
|
||||
if($us->passwordAPIExists() === true && $us->getDefaultHashType() !== PASSWORD_E107_PHP && e107::pref('core','password_CHAP')==0)
|
||||
{
|
||||
$message = "It is HIGHLY recommended that you [change your password encoding] to the PHP Default. (Password hashes will be automatically upgraded during user login.)";
|
||||
$message = LAN_PASSWORD_WARNING;
|
||||
$srch = array('[',']');
|
||||
$repl = array("<a class='alert-link' href='".e_ADMIN."prefs.php#nav-core-prefs-security'>","</a>");
|
||||
$mes->addWarning(str_replace($srch,$repl,$message));
|
||||
|
@@ -1411,7 +1411,7 @@ $text .= "
|
||||
|
||||
if(function_exists('password_verify')) // ie. php 5.5 or higher
|
||||
{
|
||||
$pwdEncodeOpts[3] = "PHP Default (Preferred)";
|
||||
$pwdEncodeOpts[3] = PRFLAN_276;
|
||||
|
||||
}
|
||||
|
||||
|
@@ -332,6 +332,7 @@ define("LAN_OPTIONAL", "optional");
|
||||
define("LAN_INACTIVE","Inactive");
|
||||
define("LAN_ACTIVATE","Activate");
|
||||
define("LAN_ACCEPT","Accept");
|
||||
define("LAN_PASSWORD_WARNING", "It is HIGHLY recommended that you [change your password encoding] to the PHP Default. (Password hashes will be automatically upgraded during user login.)");
|
||||
define("LAN_PENDING","Pending");
|
||||
define("LAN_SUBMITTED","Submitted");
|
||||
define("LAN_POSTED_BY_X","Posted by [x] [y]");
|
||||
|
@@ -294,3 +294,4 @@ define("PRFLAN_272", "Session Lifetime");
|
||||
define("PRFLAN_273", "Lifetime in seconds. 0 = until the browser is closed. ");
|
||||
define("PRFLAN_274", "Contact form will only be visible to this userclass group.");
|
||||
define("PRFLAN_275", "View this page using https (SSL) to modify this option");
|
||||
define("PRFLAN_276", "PHP Default (Preferred)");
|
||||
|
Reference in New Issue
Block a user