Loading config/module.config.php +14 −0 Changes for config/module.config.php: 14 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -302,6 +302,20 @@ return [ * Accepted values: boolean true or false */ 'enable_display_name' => true, /** * Enable user state usage * Should user's state be used in the registration/login process? * Default value is true. * Accapted values: boolean true or false */ 'enable_user_state' => true, /** * States which are allowing user to login * When user tries to login, is his/her state one of the following? * Include null if you want user's with no state to login as well. * Allowed value types: null and integer */ 'allowed_login_states' => [1], /** * Authentication Adapters * Specify the adapters that will be used to try and authenticate the user Loading src/UnicaenAuthentification/Authentication/Adapter/AbstractDb.php +1 −1 Changes for src/UnicaenAuthentification/Authentication/Adapter/AbstractDb.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -73,7 +73,7 @@ abstract class AbstractDb extends AbstractAdapter ->setCode(AuthenticationResult::FAILURE_UNCATEGORIZED) ->setMessages(["Ce compte utilisateur a été désactivé"]); $this->setSatisfied(false); return false; return true; } } Loading Loading
config/module.config.php +14 −0 Changes for config/module.config.php: 14 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -302,6 +302,20 @@ return [ * Accepted values: boolean true or false */ 'enable_display_name' => true, /** * Enable user state usage * Should user's state be used in the registration/login process? * Default value is true. * Accapted values: boolean true or false */ 'enable_user_state' => true, /** * States which are allowing user to login * When user tries to login, is his/her state one of the following? * Include null if you want user's with no state to login as well. * Allowed value types: null and integer */ 'allowed_login_states' => [1], /** * Authentication Adapters * Specify the adapters that will be used to try and authenticate the user Loading
src/UnicaenAuthentification/Authentication/Adapter/AbstractDb.php +1 −1 Changes for src/UnicaenAuthentification/Authentication/Adapter/AbstractDb.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -73,7 +73,7 @@ abstract class AbstractDb extends AbstractAdapter ->setCode(AuthenticationResult::FAILURE_UNCATEGORIZED) ->setMessages(["Ce compte utilisateur a été désactivé"]); $this->setSatisfied(false); return false; return true; } } Loading