Skip to content

Commit 14256be

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

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
@@ -113,7 +113,7 @@ public function update(Request $request, $id)
113113
{
114114
if($request->id == 51)
115115
{
116-
return response()->json(['oldpassword' => 'Old password is not correct'], 422);
116+
return response()->json(['demo' => 'You cant eddit demo user'], 422);
117117
}
118118

119119
$this->validate($request, [

0 commit comments

Comments
 (0)