summaryrefslogtreecommitdiffstats
path: root/ogcp
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp')
-rw-r--r--ogcp/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index d4f3506..6a0d99c 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -1486,7 +1486,7 @@ def action_client_add():
if not form.validate():
flash(form.errors, category='error')
- return redirect(url_for('servers'))
+ return redirect(url_for('scopes'))
try:
ipaddress.ip_address(form.ip.data)
@@ -2554,7 +2554,7 @@ def server_add_post():
form = ServerForm(request.form)
if not form.validate():
flash(form.errors, category='error')
- return redirect(url_for('servers'))
+ return redirect(url_for('manage_servers'))
ip_port_str = form.ip.data + ":" + form.port.data
try:
get_server_from_ip_port(ip_port_str)