I have following function in User.php model:
User.php
public function setPasswordAttribute($value) { $this->attributes[\'password\'] = bcrypt($valu