Commit 75885991 authored by Jarka Košanová's avatar Jarka Košanová

Merge branch 'dblessing-update-pw-change-banner' into 'master'

Update password change sign-in banner text

See merge request gitlab-org/gitlab!38606
parents fb193190 65a8b052
......@@ -52,7 +52,7 @@ class Profiles::PasswordsController < Profiles::ApplicationController
result = Users::UpdateService.new(current_user, password_attributes.merge(user: @user)).execute
if result[:status] == :success
flash[:notice] = _('Password was successfully updated. Please login with it')
flash[:notice] = _('Password was successfully updated. Please sign in again.')
redirect_to new_user_session_path
else
@user.reset
......
---
title: Update password change sign-in banner text
merge_request: 38606
author:
type: fixed
......@@ -17386,7 +17386,7 @@ msgstr ""
msgid "Password successfully changed"
msgstr ""
msgid "Password was successfully updated. Please login with it"
msgid "Password was successfully updated. Please sign in again."
msgstr ""
msgid "Passwords should be unique and not used for any other sites or services."
......
......@@ -42,7 +42,7 @@ RSpec.describe 'Profile > Password' do
fill_passwords('mypassword', 'mypassword')
page.within('.flash-notice') do
expect(page).to have_content('Password was successfully updated. Please login with it')
expect(page).to have_content('Password was successfully updated. Please sign in again.')
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment