Commit Graph

140 Commits (ba94de2510b3858f10d60f0230a58b1252346372)

Author SHA1 Message Date
Benjamin Gaussorgues d1189f923c
feat(perf): add cache for authtoken lookup 2 years ago
Alexander Piskun 26d343d33a
AppAPI: allowed to bypass Two-Factor 2 years ago
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1 2 years ago
Lucas Azevedo 771a7b92cc Add tests for occ user:auth-tokens:delete 2 years ago
Côme Chilliet f57c12b14e
Fix various deprecation warnings in tests on PHP 8.3 2 years ago
Joas Schilling dac31ad101
fix!: Remove legacy event dispatching Symfony's GenericEvent from 2FA Manager 2 years ago
Joas Schilling 05aa39d777
Fix event names of 2FA related typed events 3 years ago
Côme Chilliet 8d5165e8dc
Adapt tests to config value typing 3 years ago
Artur Neumann 37cfccabc1
unit tests for Manager::invalidateTokensOfUser 3 years ago
Joas Schilling a81d8ecef5
Fix unit tests 3 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 3 years ago
Marcel Klehr adfe367106
PublickKeyTokenProvider: Fix password update routine with password hash 3 years ago
Christoph Wurst 9d0e79f10d
Fix PublicKeyTokenProviderTest import and mock 3 years ago
Julius Härtl 2a684f6741
Fix some phpunit test warnings 3 years ago
Julius Härtl 298d2b9b58
Skip general login with email for non-valid addresses and LDAP 3 years ago
Christoph Wurst c5922e67d3
Run session token renewals in a database transaction 3 years ago
Carl Schwan 702445ba3b
Handle one time password better 3 years ago
Carl Schwan 1c23c029af Handler large passwords 4 years ago
Carl Schwan cdf3b60555 Handle one time passwords 4 years ago
Joas Schilling 7b3e2217de
Fix user agent trimming on installation 4 years ago
Joas Schilling d683e0d3d1
Automatically cut the token name on the first level 4 years ago
Joas Schilling 343476f54f
Fix unit tests 4 years ago
Carl Schwan 01e2a26749 Fix unit tests 4 years ago
Joas Schilling 3e20cffc86
More test fixing 4 years ago
Joas Schilling c6ae53096c
More test fixing 4 years ago
Joas Schilling 9f00179037
More unit test adjustments 4 years ago
Côme Chilliet bc3acfc957
Fix test class names 4 years ago
Christoph Wurst 7dd7256cfe
Prevent duplicate auth token activity updates 4 years ago
Joas Schilling 4ed296db9f
Fix Authentication test 5 years ago
Roeland Jago Douma 5ee9e1f784 Move 2FA registration to IBootstrap 5 years ago
Roeland Jago Douma b5ffca00f7 Fix unit test 5 years ago
Roeland Jago Douma 3c5cf825b3 Add real events for enabled 2fa providers for users 5 years ago
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