Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kingjia90 authored and github-actions[bot] committed May 12, 2023
1 parent ac59ee5 commit 9b37067
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Controller/Admin/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,7 @@ public function updateCurrentUserAction(Request $request, ValidatorInterface $va
if (!$oldPasswordCheck) {
return $this->adminJson(['success' => false, 'message' => 'incorrect_password']);
}

return $this->adminJson(['success' => false, 'message' => 'password_cannot_be_changed']);
}
}
Expand Down

0 comments on commit 9b37067

Please sign in to comment.