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