]> source.dussan.org Git - nextcloud-server.git/commit
Harden middleware check 17678/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Fri, 25 Oct 2019 12:42:00 +0000 (14:42 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Fri, 25 Oct 2019 13:44:37 +0000 (15:44 +0200)
commit2cf068463fb2da915fc576bfed0134e051885b39
treeace41cc391e8124c293aadab8df6e28a8934b7cf
parenta1cc2b21cc4e8abc0aa04938429e73b7b1f66fef
Harden middleware check

These annotations will allow for extra checks. And thus make it harder
to break things.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
core/Controller/TwoFactorChallengeController.php
core/Middleware/TwoFactorMiddleware.php
tests/Core/Middleware/TwoFactorMiddlewareTest.php