Commit Graph

52 Commits (f4f7c757d45cdcb8d9dc170249a09bc22cd2a994)

Author SHA1 Message Date
Andy Scherzinger 1f7e2ba599
chore: Add SPDX header 2 years ago
Joas Schilling 33385d7ecb
fix(tests): Adjust unit tests 3 years ago
Joshua Trees a4032a3800 Add some tests for input trimming in LostController.php 3 years ago
Joas Schilling 875e6cf7e6
fix(CI): Adjust expected result 3 years ago
Côme Chilliet 1cb0c2ac52 Fix LostController test 3 years ago
Thomas Citharel abe5ff3654
Make LostController use IInitialState and LoggerInterface 4 years ago
Thomas Citharel 6283d14fa6
Modernize the LostControllerTest test 4 years ago
Thomas Citharel 44e13848a1
Add password reset typed events 4 years ago
Carl Schwan b70c6a128f Update core to PHP 7.4 standard 4 years ago
Arthur Schiwon 6857136f06
fixes missing prefix to validate password reset token 4 years ago
Arthur Schiwon 19cc757531
move verification token logic out of lost password controller 4 years ago
Joas Schilling 6ed4aaeeea
Send emails on password reset to the displayname 5 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 5 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst 2fbad1ed72
Fix (array) indent style to always use one tab 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
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 9 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 10 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