summaryrefslogtreecommitdiffstats
path: root/relogin.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'relogin.cgi')
-rwxr-xr-xrelogin.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/relogin.cgi b/relogin.cgi
index 100fc2c7f..7dcbde625 100755
--- a/relogin.cgi
+++ b/relogin.cgi
@@ -190,7 +190,7 @@ elsif ($action eq 'end-sudo') {
# No valid action found
else {
Bugzilla->login(LOGIN_OPTIONAL);
- ThrowCodeError('unknown_action', {action => $action});
+ ThrowUserError('unknown_action', {action => $action});
}
# Display the template