Commit e564b183 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Declare the login form as not being able to be cancelled, to stop it from

slurping cancel requests from other forms.
parent d6ff7876
......@@ -282,7 +282,8 @@ function auth_get_login_form() {
'name' => 'login',
'method' => 'post',
'action' => $action,
'elements' => $elements
'elements' => $elements,
'iscancellable' => false
return $form;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment