dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f675de
)
Add default properties for the password reset form skip button
author
Gergő Tisza
<gtisza@wikimedia.org>
Thu, 9 Jun 2016 17:46:41 +0000
(17:46 +0000)
committer
Gergő Tisza
<gtisza@wikimedia.org>
Thu, 9 Jun 2016 17:48:37 +0000
(17:48 +0000)
Make "skip" the last option (so it's not the default action when
the user presses enter in a text field) and do not mark it as
primary/constructive as there shouldn't be multiple such buttons.
Bug: T136894
Change-Id: I2a8cd4850f740240520732b1b54d7876f25a00b8
includes/specialpage/LoginSignupSpecialPage.php
patch
|
blob
|
history
diff --git
a/includes/specialpage/LoginSignupSpecialPage.php
b/includes/specialpage/LoginSignupSpecialPage.php
index
8dff163
..
d8f5e66
100644
(file)
--- a/
includes/specialpage/LoginSignupSpecialPage.php
+++ b/
includes/specialpage/LoginSignupSpecialPage.php
@@
-1050,6
+1050,11
@@
abstract class LoginSignupSpecialPage extends AuthManagerSpecialPage {
], $this->msg( 'userlogin-helplink2' )->text() ),
'weight' => 200,
],
+ // button for ResetPasswordSecondaryAuthenticationProvider
+ 'skipReset' => [
+ 'weight' => 110,
+ 'flags' => [],
+ ],
];
}
$fieldDefinitions['username'] += [