]> source.dussan.org Git - nextcloud-server.git/commit
Add a TwoFactorException
authorCornelius Kölbel <cornelius.koelbel@netknights.it>
Mon, 14 Nov 2016 14:39:19 +0000 (15:39 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Wed, 11 Jan 2017 10:01:52 +0000 (11:01 +0100)
commite077e01bf2f2ead37c664e6e1f7339bb3a1d7f85
treeb168d6b39ab009421fe5b69e4b895b8a18e853b3
parentc4e51fd0557728a18a689d1160e00a09dfc6e789
Add a TwoFactorException

A Two Factor third party App may throw a TwoFactorException()
with a more detailed error message in case the authentication fails.
The 2FA Controller will then display the message of this Exception
to the user.

Working on #26593

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
core/Controller/TwoFactorChallengeController.php
core/templates/twofactorshowchallenge.php
lib/public/Authentication/TwoFactorAuth/TwoFactorException.php [new file with mode: 0644]