Commit Graph

35 Commits (62403d0932be7d620c7bdadc6b4e13eb496fcd6f)

Author SHA1 Message Date
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Daniel Kesselberg 9c4c5ee818
Add test case for existing user with token null 6 years ago
Daniel Kesselberg 7f7c6e49b6
Return the disabled user mock instead of the existing 6 years ago
Julius Härtl 3b0d13944a
Move actual password reset to vue 7 years ago
Roeland Jago Douma b6dd2ebd39
Use proper exception in lostController 7 years ago
Daniel Kesselberg d57540ac84
Return first value from $users 7 years ago
Roeland Jago Douma ac8a6e2244
Clean pending 2FA authentication on password reset 7 years ago
Roeland Jago Douma f42115d6bb
Fix tests 7 years ago
Morris Jobke cf3f4888cc
Change password expiration time from 12h to 7d 7 years ago
Daniel Kesselberg 031fdfb1fc
Enable password reset for user with same email address when only one is active 7 years ago
Bjoern Schiessle 3c5fb2b52b
update unit tests 7 years ago
Robin Appelman 8ed50d4b63
prefill userid for login after password reset 8 years ago
Roeland Jago Douma 8d1dd1945f
Fix tests 8 years ago
Morris Jobke 43e498844e
Use ::class in test mocks 8 years ago
Joas Schilling 3119fd41ce
Set the data from the template 8 years ago
Joas Schilling d5c6d56170
No password reset for disabled users 8 years ago
Roeland Jago Douma ba7cf03daf
Fix LostControllerTest 9 years ago
Joas Schilling 0828df5ed4
Disable the API endpoints as well 9 years ago
Morris Jobke 16c4755e03
Rename renderHTML to renderHtml 9 years ago
Lukas Reschke 727688ebd9
Adjust existing bruteforce protection code 9 years ago
Morris Jobke 1f962f9115
Update email template for lost password email 9 years ago
Morris Jobke 5b4adf66e5
Move OC_Defaults to OCP\Defaults 9 years ago
Joas Schilling 4bae7ef96d
Allow to reset the password with the email as an input 9 years ago
Bjoern Schiessle fcda3a20f4
create new encryption keys on password reset and backup the old one 9 years ago
Bjoern Schiessle 16bbd3fd7c
fix password reset if encryption is enabled 9 years ago
Roeland Jago Douma dca9184a12
Fix tests 9 years ago
Lukas Reschke 6d686c213b
[WIP] Use mail for encrypting the password reset token as well 9 years ago
Joas Schilling ed30b1f645
Use our base class everywhere 9 years ago
Joas Schilling 877cb06bfe
Use magic DI for core controllers 9 years ago
Joas Schilling 736e884e9a
Move the reset token to core app 9 years ago
Julius Haertl d065980814 Add more tests for OC\Core\Controller\LostController 10 years ago
Joas Schilling 392bc0c6b9
Move tests/core/ to PSR-4 10 years ago
Morris Jobke d6a63016ae move lost controller to core/controller 10 years ago
Roeland Jago Douma 07fd3889b1 Fix unit tests 10 years ago
Thomas Müller eebe2b9c23 User IUser::getEMailAddress() all over the place 10 years ago
Lukas Reschke db4cb1dd4d Expire token after 12h and if user logged-in again 11 years ago
Lukas Reschke 283476a2f7 Use new IMailer and add unit-tests for lostcontroller 11 years ago
Lukas Reschke 944dc127b8 Mock l10n in the setup 11 years ago
Lukas Reschke ba29ea178f Add unit tests for empty token 11 years ago
Lukas Reschke e1e8031798 Disable when no sendmail is available 11 years ago
Joas Schilling 9cfae2ed44 Skip lostcontroller sending email test on windows 11 years ago
Lukas Reschke 767b08c669 Use correct route instead 11 years ago
Lukas Reschke 60ae2894aa Fix scrutinizer issues 11 years ago
Lukas Reschke 1b50d4f7ce Warn for password reset when files_encryption is enabled 11 years ago