From 13d93f5b25aa3e663146349583a0a8e01b216f7a Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 22 May 2018 08:52:16 +0200 Subject: Make 2FA providers stateful This adds persistence to the Nextcloud server 2FA logic so that the server knows which 2FA providers are enabled for a specific user at any time, even when the provider is not available. The `IStatefulProvider` interface was added as tagging interface for providers that are compatible with this new API. Signed-off-by: Christoph Wurst --- core/templates/twofactorselectchallenge.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'core/templates') diff --git a/core/templates/twofactorselectchallenge.php b/core/templates/twofactorselectchallenge.php index a1e626567e7..55d315d904d 100644 --- a/core/templates/twofactorselectchallenge.php +++ b/core/templates/twofactorselectchallenge.php @@ -1,6 +1,11 @@

t('Two-factor authentication')) ?>

t('Enhanced security is enabled for your account. Please authenticate using a second factor.')) ?>

+ +

+ t('Could not load at least one of your enabled two-factor auth methods. Please contact your admin.')) ?> +

+

    -- cgit v1.2.3