This commit is contained in:
root 2019-10-27 21:28:09 +08:00
parent 7d4fd24a92
commit ae3b9b7c30

View File

@ -33,6 +33,7 @@ class UserController extends Controller
if (!$user->save()) { if (!$user->save()) {
abort(500, '保存失败'); abort(500, '保存失败');
} }
$request->session()->flush();
return response([ return response([
'data' => true 'data' => true
]); ]);