From 3f77b0fc8b3f1c00902ad6a12747e8b0a10ac50d Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Fri, 29 Jun 2018 13:01:22 +0200 Subject: Move user password form to security settings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- .../templates/settings/personal/personal.info.php | 32 ------------------- settings/templates/settings/personal/security.php | 36 ++++++++++++++++++++++ 2 files changed, 36 insertions(+), 32 deletions(-) (limited to 'settings/templates') diff --git a/settings/templates/settings/personal/personal.info.php b/settings/templates/settings/personal/personal.info.php index 1946e3ec66e..3e8f31cf073 100644 --- a/settings/templates/settings/personal/personal.info.php +++ b/settings/templates/settings/personal/personal.info.php @@ -31,8 +31,6 @@ script('settings', [ 'federationscopemenu', 'settings/personalInfo', ]); -vendor_script('strengthify/jquery.strengthify'); -vendor_style('strengthify/strengthify'); vendor_script('jcrop/js/jquery.Jcrop'); vendor_style('jcrop/css/jquery.Jcrop'); @@ -376,36 +374,6 @@ vendor_style('jcrop/css/jquery.Jcrop'); -
- -
-

t('Password'));?>

- - - - - -
- - - -
- - - -
- -
diff --git a/settings/templates/settings/personal/security.php b/settings/templates/settings/personal/security.php index 9b0d9b6e8d0..e0de11de60e 100644 --- a/settings/templates/settings/personal/security.php +++ b/settings/templates/settings/personal/security.php @@ -22,14 +22,50 @@ */ script('settings', [ + 'security_password', 'authtoken', 'authtoken_collection', 'authtoken_view', 'settings/authtoken-init' ]); +if($_['passwordChangeSupported']) { + script('jquery-showpassword'); + vendor_script('strengthify/jquery.strengthify'); + vendor_style('strengthify/strengthify'); +} + ?> +
+

t('Password'));?>

+ +
+ +
+ + + +
+ + + +
+ + + +
+ +
+ +

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

-- cgit v1.2.3