Commit Graph

140 Commits (b00a9a6eaeeafce11e0141199f37d8a105050cce)

Author SHA1 Message Date
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
Christoph Wurst d89a75be0b
Update all license headers for Nextcloud 21 5 years ago
Morris Jobke 5cc348ae72
Fix typo 5 years ago
Roeland Jago Douma 48b4b83b5a
Remember me is not an app_password 5 years ago
Roeland Jago Douma e93823cba0
Bearer must be in the start of the auth header 5 years ago
Christoph Wurst 1f7f93a695
Update license headers for Nextcloud 20 (again) 5 years ago
Lionel Elie Mamane ac8b40b8b1
Return correct loginname in credentials, 5 years ago
Christoph Wurst 5b92f35fe2
Log why a token is not valid during password check 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 44577e4345
Remove trailing and in between spaces 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
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Christoph Wurst df9e2b828a
Fix mismatching docblock return types 6 years ago
Christoph Wurst d808f9c053
Add typed events for all user hooks and legacy events 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Christoph Wurst 535000aac6
Make the post login event public 6 years ago
Roeland Jago Douma 5122629bb0
Make renewSessionToken return the new token 6 years ago
Greta Doci 0a874c51af
Disable app token creation for impersonated people, ref #15539 6 years ago
Roeland Jago Douma ba60fafb9a
Add proper PostLoginEvent 7 years ago
Christoph Wurst ad5a658e0c
Add isTokenLogin argument to post login hook/event 7 years ago
Roeland Jago Douma 6980ecf7ab
Throttle with correct metadata 7 years ago
Roeland Jago Douma c2beb36bfc
Bearer tokens are app token 7 years ago
Roeland Jago Douma 2223d19997
Error out early on an expired token 7 years ago
Roeland Jago Douma d9febae5b2
Update all the publickey tokens if needed on web login 7 years ago
Roeland Jago Douma 00e99af586
Mark token as invalid if the password doesn't match 7 years ago
Roeland Jago Douma 9a7265babf
Make authenticated cookies lax 7 years ago
Roeland Jago Douma ac4735a4f2
Update the scope of the lockdownmanager 7 years ago
Roeland Jago Douma 8c47a632e0
Allow updating the token on session regeneration 8 years ago