mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
Improve the error message following content review.
'Session expired' or similar makes it sound like a new error. It could confuse the user and make them think the sign in didn't work and that their session has expired again. So we went with: The change you made was not saved. Please try again.
This commit is contained in:
@@ -113,7 +113,7 @@ def service_name_change(service_id):
|
||||
@user_has_permissions('manage_service')
|
||||
def service_name_change_confirm(service_id):
|
||||
if 'service_name_change' not in session:
|
||||
flash("Session expired. Try again", 'error')
|
||||
flash("The change you made was not saved. Please try again.", 'error')
|
||||
return redirect(url_for('main.service_name_change', service_id=service_id))
|
||||
|
||||
# Validate password for form
|
||||
|
||||
Reference in New Issue
Block a user