5a30a1eae6
Originally from gitlab-org/gitlab-ee!682
6 lines
187 B
Text
6 lines
187 B
Text
- if @user.valid?
|
|
:plain
|
|
new Flash("Username successfully changed", "notice")
|
|
- else
|
|
:plain
|
|
new Flash("Username change failed - #{@user.errors.full_messages.first}", "alert")
|