This commit is contained in:
denisdulici
2018-01-03 19:07:29 +03:00
parent 411de05efd
commit f269d3c286
2 changed files with 21 additions and 5 deletions

View File

@ -6,7 +6,6 @@ use App\Notifications\Auth\Reset;
use Date;
use EloquentFilter\Filterable;
use GuzzleHttp\Exception\RequestException;
use Hash;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
@ -126,7 +125,7 @@ class User extends Authenticatable
*/
public function setPasswordAttribute($value)
{
$this->attributes['password'] = Hash::make($value);
$this->attributes['password'] = bcrypt($value);
}
/**