commit
						1be2f6f90f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -32,7 +32,7 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac | ||||||
| 
 | 
 | ||||||
|     public function setPasswordAttribute($password) |     public function setPasswordAttribute($password) | ||||||
|     { |     { | ||||||
|         $this->attributes['password'] = Hash::make($password); |         $this->attributes['password'] = Hash::needsRehash($password) ? Hash::make($password) : $password; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     public function photoUrl(array $attributes) |     public function photoUrl(array $attributes) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Jonathan Reinink
						Jonathan Reinink