Forgot Password And Debuging

This commit is contained in:
saeid_01
2019-05-05 08:54:36 +04:30
parent c0523d8c4c
commit 6071cc4d49
18 changed files with 401 additions and 47 deletions
@@ -25,7 +25,7 @@ class ResetPasswordController extends Controller
if (auth('api')->check()) {
$user = auth('api')->user();
$user->password = Hash::make($request->password);
$user->password = \Hash::make($request->password);
$user->save();
return \MessageResponse::success('Success Change Password');
}