wiki.techinc.nl/tests/phpunit/includes/specials
Dreamy Jazz 2b19a410f0 Reject temporary account usernames on Special:PasswordReset
Why:
* Special:PasswordReset allows users to send an email containing
  a temporary password to the email address attached to an account.
* Temporary accounts do not have passwords and cannot have an email
  address set (as they cannot access Special:Preferences).
* Therefore, Special:PasswordReset does not provide holders of
  temporary accounts a way to get access back into the temporary
  account if they loose access.
* However, the form currently accepts temporary account usernames
  and we should update the functionality to reject such usernames.

What:
* Update SpecialPasswordReset to reject temporary account usernames.
* Expand tests for SpecialPasswordReset to check this fix has worked.

Bug: T380085
Change-Id: I004453d4d16cd2a0448ac3922e4d13c24a158c8d
(cherry picked from commit e27be818690820c0df227cb06206da499eb94d38)
2024-11-18 14:35:28 +00:00
..
Contribute Namespace includes/context 2024-02-08 11:07:01 -05:00
pagers Merge "Replace db with getDb for Tests" 2024-06-25 20:31:50 +00:00
redirects Use explicit nullable type on parameter arguments 2024-10-16 20:58:33 +02:00
ContribsPagerTest.php Use explicit nullable type on parameter arguments 2024-10-16 20:58:33 +02:00
DeletedContribsPagerTest.php tests: Use namespaced classes 2024-10-21 18:53:02 +02:00
ImageListPagerTest.php specials: Use username from query on Special:ListFiles 2024-06-28 23:04:50 +02:00
QueryAllSpecialPagesTest.php Replace db with getDb for Tests 2024-06-23 23:47:56 +01:00
SpecialBlankPageTest.php Use namespaced specials in tests 2023-09-22 21:39:29 +00:00
SpecialBlockTest.php tests: Use namespaced classes 2024-10-21 18:53:02 +02:00
SpecialBookSourcesTest.php tests: Use namespaced classes 2023-12-11 15:59:55 +01:00
SpecialConfirmEmailTest.php Use namespaced specials in tests 2023-09-22 21:39:29 +00:00
SpecialContributeTest.php Bump codesniffer to 42.0.0 2023-09-27 15:06:32 -04:00
SpecialContributionsTest.php specials: Fix contributions page for user '0' 2024-11-12 14:31:22 -05:00
SpecialCreateAccountTest.php tests: Use namespaced classes 2024-10-21 18:53:02 +02:00
SpecialDeletedContributionsTest.php tests: Use namespaced classes 2024-10-21 18:53:02 +02:00
SpecialEditWatchlistTest.php Use namespaced specials in tests 2023-09-22 21:39:29 +00:00
SpecialGoToInterwikiTest.php Namespace includes/context 2024-02-08 11:07:01 -05:00
SpecialLogTest.php Replace deprecated LogFormatter::newFromRow/newFromEntry 2024-07-29 22:26:41 +02:00
SpecialMIMESearchTest.php Namespace includes/context 2024-02-08 11:07:01 -05:00
SpecialMovePageTest.php Use i18n strings for truncated subpage message in SpecialMovePage 2024-04-06 02:06:04 +00:00
SpecialMuteTest.php Use User::isEmailConfirmed for SpecialMute email confirmation check 2024-02-05 14:12:12 +00:00
SpecialMyLanguageTest.php Add namespace to WikitextContent 2024-08-06 17:42:51 +03:30
SpecialNewPagesTest.php Update Special:NewPages for temporary accounts 2024-07-26 11:52:04 +01:00
SpecialPageDataTest.php LinkedData: Namespace PageDataRequestHandler 2024-02-08 11:07:01 -05:00
SpecialPageExecutor.php tests: Use namespaced classes 2024-10-21 18:53:02 +02:00
SpecialPageTestBase.php tests: Use namespaced classes 2024-10-21 18:53:02 +02:00
SpecialPasswordResetTest.php Reject temporary account usernames on Special:PasswordReset 2024-11-18 14:35:28 +00:00
SpecialPreferencesTest.php Use a real user in SpecialPreferencesTest 2024-08-08 10:23:58 +00:00
SpecialRecentChangesTest.php Merge "Use explicit nullable type on parameter arguments" 2024-10-16 23:10:14 +00:00
SpecialRedirectTest.php Follow-up 71ff05267: Stop writing to tablesUsed in tests, now unnecessary 2023-11-21 09:02:48 -05:00
SpecialRenameUserTest.php Use getContentLanguage() in two special pages instead of injection 2024-10-05 20:08:43 +03:30
SpecialSearchTest.php Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
SpecialSearchTestMockResultSet.php specials: Add missing documentation to class properties 2024-09-13 19:10:50 +00:00
SpecialShortPagesTest.php Change more uses of getDBLoadBalancerFactory() to getConnectionProvider() 2024-01-23 16:34:45 +01:00
SpecialUnblockTest.php tests: Remove explicit clean up for database tests 2024-01-20 19:55:27 +01:00
SpecialUncategorizedCategoriesTest.php Namespace includes/context 2024-02-08 11:07:01 -05:00
SpecialUploadTest.php Use namespaced specials in tests 2023-09-22 21:39:29 +00:00
SpecialUserLogoutTest.php Customise Special:UserLogout success message for temporary account 2024-09-12 11:06:46 +01:00
SpecialUserRightsTest.php Make SpecialUserRights::userCanChangeRights not accept temp users 2024-09-04 15:18:54 +00:00
SpecialWatchlistTest.php tests: Use namespaced classes (1) 2024-06-14 17:19:36 +00:00