浏览代码

后台修改密码bug修复

xiaogang 3 年之前
父节点
当前提交
fd17f0a1c0
共有 1 个文件被更改,包括 2 次插入0 次删除
  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());