mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 14:39:49 -04:00
Check the uniqueness of the service name ignoring case.
When the service name changes the email_from changes to. Renamed find_all_service_names to find_all_service_names_lower.
This commit is contained in:
@@ -31,7 +31,7 @@ def add_service():
|
||||
invite_api_client.accept_invite(service_id, invitation.id)
|
||||
return redirect(url_for('main.service_dashboard', service_id=service_id))
|
||||
|
||||
form = AddServiceForm(service_api_client.find_all_service_names)
|
||||
form = AddServiceForm(service_api_client.find_all_service_names_lower)
|
||||
heading = 'Which service do you want to set up notifications for?'
|
||||
if form.validate_on_submit():
|
||||
session['service_name'] = form.name.data
|
||||
|
||||
Reference in New Issue
Block a user