Commit Graph

278 Commits (8904bf645b30fbdfdcb00a2ea607d752ee69d865)

Author SHA1 Message Date
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1 2 years ago
Christoph Wurst a5422a3998
fix: Show error message when CSRF check fails at login 2 years ago
Côme Chilliet d8b42c6131
Allow passing null to PublicKeyToken::setScope, fixes tests 2 years ago
Côme Chilliet 33a24134a7
Improve docblock annotations for tokens and their exceptions 2 years ago
Côme Chilliet 58a57a714e
Use more precise typing for setScope method parameter 2 years ago
Côme Chilliet 1bdf952fde
Make sure that OC interfaces returns OC interfaces for backward compatibility 2 years ago
Côme Chilliet b82e25ea7a
Move Exceptions used in OCP to OCP 2 years ago
Côme Chilliet 356f0291a2
Align PublicKeyToken with interface changes 2 years ago
Côme Chilliet f94fb33062
Move IToken and IProvider::getToken to OCP 2 years ago
Benjamin Gaussorgues 4361019f2f
fix(twofactor): avoid error in pgsql for duplicate entry 2 years ago
Lucas Azevedo 2a36acfc2b Fix typo 2 years ago
Lucas Azevedo c93b1634d3
Fixes from static analysis 2 years ago
Lucas Azevedo fe9b9c1955 Add last-used-before option 2 years ago
Daniel Kesselberg 32303b6ed5 docs: remove superfluous phpdocs 2 years ago
Joas Schilling dac31ad101
fix!: Remove legacy event dispatching Symfony's GenericEvent from 2FA Manager 2 years ago
Christoph Wurst 14719110b9 chore: Replace \OC::$server->query with \OCP\Server::get in /lib 3 years ago
Joas Schilling 05aa39d777
Fix event names of 2FA related typed events 3 years ago
Christoph Wurst 5eb768ac5e
fix(auth): Run token statements in atomic transaction 3 years ago
Côme Chilliet 426c0341ff
Use typed version of IConfig::getSystemValue as much as possible 3 years ago
jld3103 d9f8522003
Fix types for reading and writing config values 3 years ago
Artur Neumann f634badf12
public interface to invalidate tokens of user 3 years ago
Ember 'n0emis' Keske 6881d2f2f1
Don't try to hash a nonexisting password 3 years ago
Joas Schilling 6417ea0265
fix(authentication): Handle null or empty string password hash 3 years ago
Julius Härtl 580feecdbf
fix(authtoken): Store only one hash for authtokens with the current password per user 3 years ago
Joas Schilling 7a85a1596e
fix(authentication): Check minimum length when creating app tokens 3 years ago
Joas Schilling 03a585ab4f
fix(performance): Only search for auth tokens when the provided login is long enough 3 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 3 years ago
Joas Schilling 2fb4dac7ad
fix(authentication): Update the token when the hash is null or can not be verified 3 years ago
Joas Schilling 28b18d561c
fix(authentication): Only hash the new password when needed 3 years ago
Joas Schilling c5bb19641c
fix(authentication): Invert the logic to the original intention 3 years ago
Joas Schilling 55d8aec759
fix(authentication): Only verify each hash once 3 years ago
Thomas Citharel 6b7da88b0b
Validate user timezone given from login data before saving it 3 years ago
Joas Schilling b4a29644cc
Add a const for the max user password length 3 years ago
Marcel Klehr adfe367106
PublickKeyTokenProvider: Fix password update routine with password hash 3 years ago
Julius Härtl 6abb37317f
Do not setup a session when not required on WebDAV requests 3 years ago
Roeland Jago Douma 77df92cabf
feat: add event for failed logins 3 years ago
Julius Härtl 298d2b9b58
Skip general login with email for non-valid addresses and LDAP 3 years ago
Carl Schwan 419828c791 Fix the type of the return array in a few more places 3 years ago
Christoph Wurst c5922e67d3
Run session token renewals in a database transaction 3 years ago
Christoph Wurst eff877af03 Pass logger to passwordless auth WebAuthn lib 3 years ago
Carl Schwan ef31396727
Mark method as deprecated 3 years ago
Thomas Citharel 3ce1996d5e
Add back TokenCleanupJob to invalidate old temporary tokens 3 years ago
Julius Härtl 9d1ec582ba
Do not update passwords if nothing changed 3 years ago
Carl Schwan 702445ba3b
Handle one time password better 3 years ago
luz paz 368f83095d Fix typos in lib/private subdirectory 3 years ago
Carl Schwan d5c23dbb9f Move CappedMemoryCache to OCP 4 years ago
Carl Schwan 1c23c029af Handler large passwords 4 years ago
Carl Schwan cdf3b60555 Handle one time passwords 4 years ago
Robin Appelman db3093a46f delete files before cleaning cache when cleaning user files 4 years ago
Christoph Wurst 90c31cfddc
Fix replacing external storage password during debug log 4 years ago