diff options
-rwxr-xr-x | relogin.cgi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/relogin.cgi b/relogin.cgi index 57e5e22aa..db6357480 100755 --- a/relogin.cgi +++ b/relogin.cgi @@ -201,6 +201,11 @@ elsif ($action eq 'logout') { $vars->{'message'} = "logged_out"; $target = 'global/message.html.tmpl'; } +# No valid action found +else { + Bugzilla->login(LOGIN_OPTIONAL); + ThrowCodeError('unknown_action', {action => $action}); +} # Display the template print $cgi->header(); |