]> source.dussan.org Git - nextcloud-server.git/commit
Error out early on an expired token 12160/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Tue, 30 Oct 2018 12:19:59 +0000 (13:19 +0100)
committerJan Dageförde <jan.dagefoerde@ercis.uni-muenster.de>
Wed, 31 Oct 2018 09:54:17 +0000 (10:54 +0100)
commite3f3212fbc5a27174d97f32c217d1399ded9fe99
tree81ebe62acd12b52365c5f7ee67f58519cc5299a4
parentf17137883713b19800dcbe7c9e7fb4f355f81d79
Error out early on an expired token

Fixes #12131

If we hit an expired token there is no need to continue checking. Since
we know it is a token.

We also should not register this with the bruteforce throttler as it is
actually a valid token. Just expired. Instead the authentication should
fail. And buisness continues as usual.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/private/User/Session.php