PHPAuth is a secure PHP Authentication class that easily integrates into any site.
Completly removed uses of bjeavons/zxcvbn-php
package from PHPAuth Core. See CUSTOM_VALIDATORS.md
. Package added to 'suggest' section of composer.json
Please use:
use ZxcvbnPhp\Zxcvbn;
$config = $config->setPasswordValidator(static function($password) use ($config) {
return (bool)((new Zxcvbn())->passwordStrength($password)['score'] >= intval($config->password_min_score));
});
__lang()
method in trait Helpers. Supported new to legacy key conversion.database_emails_banned.sql
verify_email_min_length = 0
means that the email is not checked for the minimum length.verify_email_valid TRUE
, verify_email_use_banlist TRUE
Config::__set()
now saving settings to DB only if Config type is SQLdatabase_informix.sql
testRegister()
and testLogin()
in separate process (prevents 'headers already sent' error)setLocalization()
methodsee also DEPRECATION_WARNING.md
Added Session Authentication to the PHPAuth Core Class. Users can now choose between using a Session or a Cookie by setting the 'use_session' configuration option to 1 or 0
Fixed #532 , Undefined class constant 'self::TOKEN_LENGTH'
This release is equal to 1.3.5 version, but must be 1.4.0, because changed a lot of minor functionality.
latest
, NOT dev-master
Config::setLocalization()
method that update config's internal dictionary from given array.Config::setCustomMailer()
method - future custom closure for sendMail methoddeleteExpiredData()
instead of cron()
checkTableExists()
method. Uses different detection methods for separate driversgetForgottenDictionary()
, getIP
, getRandomKey()
, getHash()
See 1.4.0 description
Version fix: 1.3.2