Fixed rebase issues

This commit is contained in:
James Brooks
2014-12-01 16:46:56 +00:00
parent 7aec301ce6
commit 0fb39f34f8
6 changed files with 37 additions and 17 deletions
+11
View File
@@ -23,4 +23,15 @@ class User extends Eloquent implements UserInterface, RemindableInterface {
*/
protected $hidden = ['password', 'remember_token'];
/**
* Hash any password being inserted by default
*
* @param string @password
* @return void
*/
public function setPasswordAttribute($password) {
$this->attributes['password'] = Hash::make($password);
}
}