Explorar o código

后台修改密码bug修复

xiaogang %!s(int64=3) %!d(string=hai) anos
pai
achega
fd17f0a1c0
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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());