This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  e5220d7df7bef0c275abaa6f46c05a3fd0922f9b (commit)
      from  c4cd6db02e6d52acca114c3be01167e3154fad7e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=e5220d7df7bef0c275abaa6f46c05a3fd0922f9b

commit e5220d7df7bef0c275abaa6f46c05a3fd0922f9b
Author: Franck Villaume <[email protected]>
Date:   Thu Apr 28 17:15:28 2016 +0200

    tab vs. space

diff --git a/src/plugins/authldap/www/post-login.php 
b/src/plugins/authldap/www/post-login.php
index 90eede8..b6189ee 100644
--- a/src/plugins/authldap/www/post-login.php
+++ b/src/plugins/authldap/www/post-login.php
@@ -72,11 +72,11 @@ if ($login) {
                exit_form_double_submit();
        }
        $test = 
$plugin->checkLDAPCredentials(strtolower($form_loginname),$form_pw);
-    $u = user_get_object_by_name($form_loginname);
-    $user_is_okay = false;
-    if ($u == NULL or $u->getStatus() == 'A') {
-            $user_is_okay=true;
-    }
+       $u = user_get_object_by_name($form_loginname);
+       $user_is_okay = false;
+       if ($u == NULL or $u->getStatus() == 'A') {
+               $user_is_okay=true;
+       }
        if ($test == FORGE_AUTH_AUTHORITATIVE_ACCEPT && $user_is_okay) {
                if ($plugin->isSufficient()) {
                        $plugin->startSession($form_loginname);
@@ -93,9 +93,9 @@ if ($login) {
                        $warning_msg = _('Missing Password Or User Name');
                }
        } elseif ($u != NULL && ! $u->isError() && $u->getStatus() != 'A') {
-            $warning_msg = _('User is inactive');
-    } else {
-            $warning_msg = _('LDAP server unreachable');
+               $warning_msg = _('User is inactive');
+       } else {
+               $warning_msg = _('LDAP server unreachable');
        }
 }
 

-----------------------------------------------------------------------

Summary of changes:
 src/plugins/authldap/www/post-login.php | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to