From 318682dd6dc81de2135af0f6bb609be1064467ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 7 Aug 2018 17:41:01 +0200 Subject: [PATCH] Fix security settings if password change is disabled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- settings/templates/settings/personal/security.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/settings/templates/settings/personal/security.php b/settings/templates/settings/personal/security.php index e0de11de60..253f20c0a2 100644 --- a/settings/templates/settings/personal/security.php +++ b/settings/templates/settings/personal/security.php @@ -22,7 +22,6 @@ */ script('settings', [ - 'security_password', 'authtoken', 'authtoken_collection', 'authtoken_view', @@ -30,18 +29,18 @@ script('settings', [ ]); if($_['passwordChangeSupported']) { + script('settings', 'security_password'); script('jquery-showpassword'); vendor_script('strengthify/jquery.strengthify'); vendor_style('strengthify/strengthify'); } ?> - +

t('Password'));?>

-
-
+

t('Devices & sessions'));?>