mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-27 10:03:49 +00:00
make answer to isCredentials, ... consistent
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user