mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-10-31 01:08:26 +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