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
19754eb503
commit
0de9cb3a69
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user