Browse Source

后台修改密码bug修复

xiaogang 3 years ago
parent
commit
fd17f0a1c0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/Http/Controllers/Api/AuthorizationsController.php

+ 2 - 0
app/Http/Controllers/Api/AuthorizationsController.php

xqd
@@ -338,6 +338,8 @@ class AuthorizationsController extends Controller
             if(!$user->save()){
                 throw new Exception("设置失败");
             }
+
+            return true;
             $res = $this->do_login($request->mobile,$request->password);
         }catch (\Exception $exception){
             return $this->response->errorForbidden($exception->getMessage());