28 Commits (cf6c921376effdf7e3682388237f675bb1520945)

Author SHA1 Message Date
Faraz Samapoor e98cf3c374 Uses PHP8's constructor property promotion. 3 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 3 years ago
Christoph Wurst df908c728a
Enable strict types for the 2FA middleware 4 years ago
Christoph Wurst 74b1bf1d1c
Fix setting up 2FA when no providers are set up but backup codes 4 years ago
Christoph Wurst c8caba265f
Explicitly allow some routes without 2FA 4 years ago
Joas Schilling 3710eca104
Allow "TwoFactor Nextcloud Notifications" to pull the state of the 2FA again 4 years ago
Lukas Reschke 7c1038bfb3
Remove 2FA exemption from PublicPage annotation 4 years ago
Christoph Wurst 2fca843cc0
Fix setting up 2FA providers when 2FA is enforced and bc are generated 4 years ago
Lukas Reschke 04fa36d411 Improve provider check 4 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 5 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 5bf3d1bb38
Update license headers 6 years ago
Roeland Jago Douma 2cf068463f
Harden middleware check 6 years ago
Roeland Jago Douma 579162d7b9
Allow 2FA to be setup on first login 7 years ago
Roeland Jago Douma 8c77882794
No need to check 2fa state on apptoken logins 7 years ago
Morris Jobke 0eebff152a
Update license headers 8 years ago
Lukas Reschke f93a82b8b0
Remove explicit type hints for Controller 8 years ago
Roeland Jago Douma 3548603a88
Fix middleware implementations signatures 9 years ago
Joas Schilling 72c1b24844
Check whether the $_SERVER['REQUEST_*'] vars exist before using them 9 years ago
Christoph Wurst 6af2efb679
prevent infinite redirect loops if the there is no 2fa provider to pass 9 years ago
Roeland Jago Douma 33f1532079
Throw exception if you don't handle it 9 years ago
Joas Schilling ba87db3fcc
Fix others 10 years ago
blizzz 51fd2602a7 Revert "Downstream 2016-06-08" 10 years ago
Joas Schilling 7f88645eab
Allow to cancel 2FA after login 10 years ago
Joas Schilling 3e3b326c85
Allow to cancel 2FA after login 10 years ago
Christoph Wurst 5e71d23ded
remember redirect_url when solving the 2FA challenge 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