Commit Graph

172 Commits (master)

Author SHA1 Message Date
Daniel Calviño Sánchez 4fcadd630b fix: Throw specific LoginException when the user is disabled 6 months ago
Ferdinand Thiessen 5981b7eb51
chore: apply new CSFixer rules 6 months ago
Samuel Bizien Filippi a14cade3ac feat(core): add cookie_domain config option 6 months ago
Christoph Wurst 5003467f98
fix(session): Only mark sessions of permanent tokens as app passwords 9 months ago
Cleopatra Enjeck M. 32e46a8b3a fix: use mb_strtolower to convert login name 10 months ago
Cleopatra Enjeck M. a6d6a1fa9e fix: Improve string comparison 10 months ago
Cleopatra Enjeck M. 6690a28cc0 fix: Use case insensitive check when validating login name 10 months ago
dependabot[bot] bb598c8451
chore(deps): Bump nextcloud/coding-standard in /vendor-bin/cs-fixer 1 year ago
Fabian Dreßler 1d6cce8a25 fix: update last_login timestamp for token based-logins 1 year ago
Arthur Schiwon 6a783d9b08
fix(Session): avoid race conditions on clustered setups 1 year ago
Andy Scherzinger dae7c159f7
chore: Add SPDX header 2 years ago
Christoph Wurst bcc02a3c71
fix(auth): Update authtoken activity selectively 2 years ago
Christoph Wurst 21ee7f59bd
fix(session): Do not update authtoken last_check for passwordless 2 years ago
Côme Chilliet ec5133b739 fix: Apply new coding standard to all files 2 years ago
Julius Härtl e330efe5a0
fix: Implement option to temporarily set the user session 2 years ago
Andrew Summers 0047789580 Refactor `OC\Server::getTwoFactorAuthManager` 2 years ago
Vincent Petry 839ddaa354
feat: rename users to account or person 2 years ago
Côme Chilliet b2e9e0fa0d chore: Replace OC::$server->getL10N by OCP\Util::getL10N in lib and some apps 2 years ago
Christoph Wurst 7f2fdd8843
fix(auth): Fix logging in with email, password and login name mismatch 2 years ago
Git'Fellow 72e0618f20
fix(session): Avoid two useless authtoken DB queries for every anonymous request 2 years ago
Côme Chilliet eee9f1eec4 Always catch OCP versions of authentication exceptions 2 years ago
Julius Härtl a3a343ce41
perf: Use more performant way to obtain and check the email as a login name with token login 2 years ago
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1 2 years ago
Patrick Fischer b2103556b5
Lower log level about invalid session token 2 years ago
Christoph Wurst 4f183bb604
fix(session): Log why session renewal failed 2 years ago
Christoph Wurst f398d0b5a3
fix: Log critical session renewal and logout paths 2 years ago
Christoph Wurst 83a30dfbdf
fix(user): Log affected user of app token login name mismatch 2 years ago
Andrew Summers 1470a7294b
Refactor `OC\Server::getCsrfTokenManager` 2 years ago
Joas Schilling 25309bcb45
techdebt(DI): Use public IThrottler interface which exists since Nextcloud 25 2 years ago
Joas Schilling 3962cd0aa8
fix!: Move getEventDispatcher usage to IEventDispatcher 2 years ago
Faraz Samapoor e7cc7653b8 Refactors "strpos" calls in lib/private to improve code readability. 3 years ago
Joas Schilling b91957e3df
fix(dav): Abort requests with 429 instead of waiting 3 years ago
Côme Chilliet 426c0341ff
Use typed version of IConfig::getSystemValue as much as possible 3 years ago
Daniel Kesselberg f751d2d891
chore: use local variable for remote address 3 years ago
Roeland Jago Douma 77df92cabf
feat: add event for failed logins 3 years ago
Julius Härtl de3099b4d6
Remove potential mismatching dav session data during login 3 years ago
Côme Chilliet c79a6b3f62
Fix errors from PHP 8.2 testing 3 years ago
Christoph Wurst e2d3409a34
Fix unsuccessful token login logged as error 3 years ago
Robin Appelman 1fbb951691
dont try email login if the provider username is not a valid email 3 years ago
Christoph Wurst 0184fbe86b
Log if cookie login failed with token mismatch or session unavailability 3 years ago
Carl Schwan 9ec0cb0a90 Fix psalm issues related to the user backend 4 years ago
Côme Chilliet 6be7aa112f
Migrate from ILogger to LoggerInterface in lib/private 4 years ago
Joas Schilling 86de1d569f
Only setupFS when we have to copy the skeleton 4 years ago
Marek-Wojtowicz f76a915096 Update Session.php 4 years ago
Joas Schilling c0ba89ecc9
Remove default token which is deprecated since Nextcloud 13 4 years ago
Joas Schilling ccfaddf781
Fix missing token update 4 years ago
Christoph Wurst a143337791
Emit an error log when the app token login name does not match 4 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 5 years ago
Joas Schilling 521bb30541
Throw "401 Unauthenticated" when authentication is provided but invalid 5 years ago
Lionel Elie Mamane f99f463834 token login: emit preLogin event with LoginName 5 years ago