Commit Graph

108 Commits (5cd1880daa048a685da689c7f41a2e50486494de)

Author SHA1 Message Date
Roeland Jago Douma cd457cc68b Always renew apppasswords on login 5 years ago
Christoph Wurst 99d525eb36
Convert 2FA token type to string 5 years ago
Joas Schilling 49ff48fcd3
Use PSR logger in authentication 5 years ago
Christoph Wurst d9015a8c94
Format code to a single space around binary operators 5 years ago
Roeland Jago Douma 76a7600e2e
Allow configuring the activity update interval of token 5 years ago
Christoph Wurst adf100a42f
Fix undefined class property access after upgrade from 19 to 20 5 years ago
Lionel Elie Mamane 2c8e7912f3
adapt testGetLoginCredentialsInvalidTokenLoginCredentials() unit test to uid != loginname 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 68794ebc92
Emit an event for every disabled 2FA provider during cleanup 6 years ago
Christoph Wurst 3474afa938
Clean up auth tokens when user is deleted 6 years ago
Julius Härtl 2eadf9d567
Do not create remember me cookie 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst 14c996d982
Use elseif instead of else if 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst 2a529e453a
Use a blank line after the opening tag 6 years ago
Christoph Wurst 85e369cddb
Fix multiline comments 6 years ago
Christoph Wurst c4998efcfc
Migrate to PSR1 coding style 6 years ago
Roeland Jago Douma 84f3d2ddeb
[POC] Event for failed login attempts 6 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Christoph Wurst 74936c49ea
Remove unused imports 6 years ago
Joas Schilling 9935c71ec3
Check the user on remote wipe 6 years ago
Christoph Wurst 60d4b45e89
Clean up 2FA provider registry when a user is deleted 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Christoph Wurst 0299ea0a96
Handle token insert conflicts 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Roeland Jago Douma 210a0554a2
Use the actual password to update the tokens 6 years ago
Christoph Wurst a1ef939c06
Use Symfony's new contract Event class instead of the deprecated one 6 years ago
Joas Schilling 565838da9c
Update unit tests 7 years ago
Christoph Wurst d058ef2b6c
Make it possible to wipe all tokens/devices of a user 7 years ago
Christoph Wurst 1c261675ad
Refactor: move remote wipe token logic to RW service 7 years ago
Christoph Wurst c50fe2a9c9
Send emails when remote wipe starts/finishes 7 years ago
Christoph Wurst aa6622ccef Decouple remote wipe notifcation channels with events 7 years ago
Roeland Jago Douma 579162d7b9
Allow 2FA to be setup on first login 7 years ago
Christoph Wurst 170582d4f5
Add a login chain to reduce the complexity of LoginController::tryLogin 7 years ago
Joas Schilling bb352fb667
Use the defined func()->count() instead of manual counting 7 years ago
Roeland Jago Douma 674930da7f
Move ExpiredTokenException to the correct namespace 7 years ago
Christoph Wurst 83e994c11f
Make it possible to enforce mandatory 2FA for groups 7 years ago
Roeland Jago Douma 19f84f7b54
Add tests 7 years ago
Roeland Jago Douma 956fe1b867
Generate backups code notification if not enable but 2fa is 7 years ago
Christoph Wurst 259c0ce11d
Add mandatory 2FA service/class 7 years ago
Christoph Wurst 7586b19e52
Only allow 2FA state changs if providers support the operation 7 years ago
Daniel Kesselberg 6bdcec67ab
Add openssl to mock 7 years ago
Christoph Wurst 5c70aa2a22
Remove unused import 7 years ago
Christoph Wurst 1124b87bc0
Fix 2FA being enforced if only backup codes provider is active 7 years ago
Christoph Wurst 8db66d5dfb
Fix double-inserts of the same provider state 7 years ago
Christoph Wurst 85bc5edb5e
Add integration/unit test for the double-insert of same values 7 years ago
Christoph Wurst d8197f2b97
Rename providerset method to get primary providers 7 years ago
Christoph Wurst c6e47e8a51
Fix login redirection if only one 2FA provider is active 8 years ago
Christoph Wurst d248a0bd1e
Fix 2FA provider registry population on login 8 years ago