Commit Graph

51 Commits (5cd1880daa048a685da689c7f41a2e50486494de)

Author SHA1 Message Date
Christoph Wurst 99d525eb36
Convert 2FA token type to string 5 years ago
Christoph Wurst d89a75be0b
Update all license headers for Nextcloud 21 5 years ago
Joas Schilling 49ff48fcd3
Use PSR logger in authentication 5 years ago
Christoph Wurst 68794ebc92
Emit an event for every disabled 2FA provider during cleanup 6 years ago
Christoph Wurst 28f8eb5dba
Add visibility to all constants 6 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 74936c49ea
Remove unused imports 6 years ago
Christoph Wurst df9e2b828a
Fix mismatching docblock return types 6 years ago
Christoph Wurst 5fc4c91a76
Fix mismatching doc block parameter types 6 years ago
Christoph Wurst 60d4b45e89
Clean up 2FA provider registry when a user is deleted 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Christoph Wurst a1ef939c06
Use Symfony's new contract Event class instead of the deprecated one 6 years ago
Roeland Jago Douma 579162d7b9
Allow 2FA to be setup on first login 7 years ago
Roeland Jago Douma ac8a6e2244
Clean pending 2FA authentication on password reset 7 years ago
Christoph Wurst 83e994c11f
Make it possible to enforce mandatory 2FA for groups 7 years ago
Roeland Jago Douma a95154642d
Emit event on enablign or disabling of 2FA provider 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
Christoph Wurst fb98db7da7
Fix handlng of concurrent inserts of the 2FA provider registry DAO 7 years ago
Christoph Wurst 1124b87bc0
Fix 2FA being enforced if only backup codes provider is active 8 years ago
Christoph Wurst 8db66d5dfb
Fix double-inserts of the same provider state 8 years ago
Christoph Wurst d8197f2b97
Rename providerset method to get primary providers 8 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
Christoph Wurst fc149bab3c
Fix duplicate inserts in the 2fa provider registry DAO 8 years ago
Christoph Wurst 7be465febe
Make new classes strict and fix license header 8 years ago
Christoph Wurst 13d93f5b25
Make 2FA providers stateful 8 years ago
Roeland Jago Douma eddd135f14
Dispatch event on twofactor failure and success 8 years ago
Morris Jobke 0eebff152a
Update license headers 8 years ago
Roeland Jago Douma 9163cf9241
Fix AppPassword 2FA auth 8 years ago
Roeland Jago Douma b96485b6bd
Fix login with basic auth 8 years ago
Roeland Jago Douma 84b7022118
Improve 2FA 8 years ago
Christoph Wurst 0928b5f621
Change 2FA activities to more generic security activities 9 years ago
Christoph Wurst ed4017dfb4
fix minor issues 9 years ago
Christoph Wurst 7ae9442f3d
Publish, parse and filter 2FA activities 9 years ago
Christoph Wurst 2f36920ddf fix undefined index error when the backup codes provider is not active 9 years ago
Lukas Reschke 271f2a4cff
Fix typ in constant name 9 years ago
Lukas Reschke b269ed5a7b
Fix invalid PHPDocs 9 years ago
Christoph Wurst d907666232
bring back remember-me 9 years ago
Christoph Wurst 8acb734854
add 2fa backup codes app 9 years ago
Christoph Wurst 6af2efb679
prevent infinite redirect loops if the there is no 2fa provider to pass 9 years ago
Robin Appelman 681ac9f19f Check if an app provide two-factor-auth providers before we try to use them 10 years ago
Joas Schilling ba87db3fcc
Fix others 10 years ago
Christoph Wurst a40d64ff7f
load 2FA provider apps before querying classes 10 years ago
Christoph Wurst 5daa9a5417 fail hard if 2fa provider can not be loaded (#25061) 10 years ago
Lukas Reschke aba539703c
Update license headers 10 years ago
Christoph Wurst 847bbc51b6
add OCC command to enable/disable 2FA for a user 10 years ago
Christoph Wurst dfb4d426c2
Add two factor auth to core 10 years ago