summaryrefslogtreecommitdiffstats
path: root/py-bin
diff options
context:
space:
mode:
authoralice <alice@immerda.ch>2012-09-21 15:07:16 +0200
committeralice <alice@immerda.ch>2012-10-19 15:20:07 +0200
commit80d33154edd702140ee7ce43ab39644c7a30aedd (patch)
tree4488de915ce3623dff486c109f9ee60837daa1ec /py-bin
parent0c064e1e3c5778670e66b085afd2e070221fabd4 (diff)
simplified handling for access-denied case
Diffstat (limited to 'py-bin')
-rw-r--r--py-bin/setup.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/py-bin/setup.py b/py-bin/setup.py
index d14bbd7..49f8980 100644
--- a/py-bin/setup.py
+++ b/py-bin/setup.py
@@ -50,8 +50,7 @@ class SetupMixIn:
self.__redirect_to_main(req)
return
else:
- url = self.make_url([("cmd","set_pw_form"), ("account", jid), ("error", status)])
- self.redirect_to(req, url)
+ self.error_page(req, status)
return
set_pw_process.web_callable = True