From dc25a9cf6816b756cb38490eab93f02589c44a10 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 14 Jun 2023 20:19:18 +0300 Subject: disable app passwords in the UI if auth_internal is not loaded --- classes/pref/prefs.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index 1e02a0508..2ce5f061b 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -533,7 +533,11 @@ class Pref_Prefs extends Handler_Protected { index_auth_password() ?>
- index_auth_app_passwords() ?> + get_plugin('auth_internal')) { ?> + index_auth_app_passwords() ?> + + auth_internal plugin is enabled."); ?> +
index_auth_2fa() ?> -- cgit v1.2.3