mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
make answer to isCredentials, ... consistent
This commit is contained in:
parent
53b4ec0201
commit
0aba2f571d
@ -38,7 +38,7 @@ class User implements AdvancedUserInterface {
|
||||
*
|
||||
* @var boolean
|
||||
*/
|
||||
private $locked = false;
|
||||
private $locked = true;
|
||||
|
||||
/**
|
||||
*
|
||||
@ -101,7 +101,7 @@ class User implements AdvancedUserInterface {
|
||||
|
||||
public function getRoles()
|
||||
{
|
||||
return 'ROLE_USER';
|
||||
return array('ROLE_USER');
|
||||
}
|
||||
|
||||
public function getSalt()
|
||||
@ -133,7 +133,7 @@ class User implements AdvancedUserInterface {
|
||||
*/
|
||||
public function isAccountNonExpired()
|
||||
{
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user