Skip to content

Commit

Permalink
Add validation when changing email (#706)
Browse files Browse the repository at this point in the history
  • Loading branch information
BranTurner authored and djaiss committed Dec 22, 2017
1 parent 16febf4 commit e36de1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
UNRELEASED CHANGES:

* Add validation when changing email address
* Add ability to change account's password in the settings

RELEASED VERSIONS:
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Requests/SettingsRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function rules()
return [
'first_name' => 'required|max:255',
'last_name' => 'required|max:255',
'email' => 'required|email|max:2083',
'email' => 'required|email|max:2083|unique:users,email',
'timezone' => '',
'layout' => '',
'locale' => '',
Expand Down

0 comments on commit e36de1b

Please sign in to comment.