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
pagers
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
QueryAllSpecialPagesTest.php
SpecialBlankPageTest.php
SpecialBlockTest.php tests: Use namespaced classes 2024-10-21 18:53:02 +02:00
SpecialBookSourcesTest.php
SpecialConfirmEmailTest.php
SpecialContributeTest.php
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
SpecialGoToInterwikiTest.php
SpecialLogTest.php
SpecialMIMESearchTest.php
SpecialMovePageTest.php
SpecialMuteTest.php
SpecialMyLanguageTest.php
SpecialNewPagesTest.php
SpecialPageDataTest.php
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
SpecialRecentChangesTest.php Merge "Use explicit nullable type on parameter arguments" 2024-10-16 23:10:14 +00:00
SpecialRedirectTest.php
SpecialRenameUserTest.php
SpecialSearchTest.php
SpecialSearchTestMockResultSet.php
SpecialShortPagesTest.php
SpecialUnblockTest.php
SpecialUncategorizedCategoriesTest.php
SpecialUploadTest.php
SpecialUserLogoutTest.php
SpecialUserRightsTest.php
SpecialWatchlistTest.php