Skip to content

Commit 72e8853

Browse files
author
vagrant
committed
cant update demo user
1 parent aea3a75 commit 72e8853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/Admin/UserController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function edit($id)
111111
*/
112112
public function update(Request $request, $id)
113113
{
114-
if($request->id == 48)
114+
if($request->id == 51)
115115
{
116116
return response()->json(['oldpassword' => 'Old password is not correct'], 422);
117117
}

0 commit comments

Comments
 (0)