From 6a374c96244b53cfe1579895005addb7cbade0a2 Mon Sep 17 00:00:00 2001 From: huzvar <89766648+huzvar@users.noreply.github.com> Date: Tue, 5 Oct 2021 16:11:26 +0200 Subject: [PATCH 1/3] Fix style description change password. (#114) --- www/change_password/index.php | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/www/change_password/index.php b/www/change_password/index.php index 5aa9479..b56568c 100644 --- a/www/change_password/index.php +++ b/www/change_password/index.php @@ -56,20 +56,17 @@ if (isset($mismatched)) { ?> -
-
-
-

Use this form to change your password. When you start typing your new password the gauge at the bottom will show its security strength. - Enter your password again in the confirm field. If the passwords don't match then both fields will be bordered with red.

-
-
-
-
Change your password
+ +
    +
  • Use this form to change your password. When you start typing your new password the gauge at the bottom will show its security strength. + Enter your password again in the confirm field. If the passwords don't match then both fields will be bordered with red.
  • +
+
From 37076f87047eeb5028588a2d60e2665fd37ae61b Mon Sep 17 00:00:00 2001 From: huzvar <89766648+huzvar@users.noreply.github.com> Date: Wed, 6 Oct 2021 10:01:53 +0200 Subject: [PATCH 2/3] Fix edit user style. (#118) Copy from edit group (show_group.php). --- www/account_manager/show_user.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/www/account_manager/show_user.php b/www/account_manager/show_user.php index 16f7f4d..b880240 100644 --- a/www/account_manager/show_user.php +++ b/www/account_manager/show_user.php @@ -366,6 +366,29 @@ if ($ldap_search) { } + +
From 45f834ff2e56af9ec0f2359c9899fa8dc2c9600f Mon Sep 17 00:00:00 2001 From: LordFelius <95199533+LordFelius@users.noreply.github.com> Date: Fri, 17 Dec 2021 17:55:22 +0800 Subject: [PATCH 3/3] fixed LDAP_GROUP_MEMBERSHIP_USES_UID not working (#133) should use string == 'TRUE' instead of == TRUE , as getenv returns a string , which always considered equaling a bool TRUE . --- www/includes/config.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/includes/config.inc.php b/www/includes/config.inc.php index 4dcf4c5..162a7a4 100644 --- a/www/includes/config.inc.php +++ b/www/includes/config.inc.php @@ -35,8 +35,8 @@ if (getenv('LDAP_GROUP_MEMBERSHIP_ATTRIBUTE')) { $LDAP['group_membership_attribute'] = getenv('LDAP_GROUP_MEMBERSHIP_ATTRIBUTE'); } if (getenv('LDAP_GROUP_MEMBERSHIP_USES_UID')) { - if (strtoupper(getenv('LDAP_GROUP_MEMBERSHIP_USES_UID')) == TRUE ) { $LDAP['group_membership_uses_uid'] = TRUE; } - if (strtoupper(getenv('LDAP_GROUP_MEMBERSHIP_USES_UID')) == FALSE ) { $LDAP['group_membership_uses_uid'] = FALSE; } + if (strtoupper(getenv('LDAP_GROUP_MEMBERSHIP_USES_UID')) == 'TRUE' ) { $LDAP['group_membership_uses_uid'] = TRUE; } + if (strtoupper(getenv('LDAP_GROUP_MEMBERSHIP_USES_UID')) == 'FALSE' ) { $LDAP['group_membership_uses_uid'] = FALSE; } } $LDAP['require_starttls'] = ((strcasecmp(getenv('LDAP_REQUIRE_STARTTLS'),'TRUE') == 0) ? TRUE : FALSE);