Remove hash routine from user model.

This commit is contained in:
James Cole 2015-03-14 22:00:57 +01:00
parent 4e830079de
commit 3cc57ab89c

View File

@ -99,12 +99,4 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
return $this->hasMany('FireflyIII\Models\TransactionJournal'); return $this->hasMany('FireflyIII\Models\TransactionJournal');
} }
/**
* @param $value
*/
public function setPasswordAttribute($value)
{
$this->attributes['password'] = \Hash::make($value);
}
} }