Quellcode durchsuchen

Minor - fixing formatting

Julio Montoya vor 12 Jahren
Ursprung
Commit
21e3b5f51b
1 geänderte Dateien mit 12 neuen und 12 gelöschten Zeilen
  1. 12 12
      main/auth/external_login/login.ldap.php

+ 12 - 12
main/auth/external_login/login.ldap.php

@@ -3,37 +3,37 @@
 // External login module : LDAP
 /**
  *
- * This file is included in main/inc/local.inc.php at user login if the user have 'external_ldap' in 
+ * This file is included in main/inc/local.inc.php at user login if the user have 'external_ldap' in
  * his auth_source field insted of platform
  *
- * Variables that can be used : 
+ * Variables that can be used :
  *    - $login : string containing the username posted by the user
  *    - $password : string containing the password posted by the user
- *    - $uData : associative array with those keys : 
+ *    - $uData : associative array with those keys :
  *           -username
  *           -password
  *           -auth_source
  *           -active
  *           -expiration_date
- *  
- * If login succeeds, we have 2 choices : 
- *    1.  - set $loginFailed to false, 
- *        - set $_SESSION['_user']['user_id'] with the dokeos user_id 
+ *
+ * If login succeeds, we have 2 choices :
+ *    1.  - set $loginFailed to false,
+ *        - set $_SESSION['_user']['user_id'] with the dokeos user_id
  *        - set $uidReset to true
  *        - upgrade user info in dokeos database if needeed
  *        - let the script local.inc.php continue
  *
- *    2.  - set $_SESSION['_user']['user_id'] with the dokeos user_id 
+ *    2.  - set $_SESSION['_user']['user_id'] with the dokeos user_id
  *        - set $_SESSION['_user']['uidReset'] to true
  *        - upgrade user info in dokeos database if needeed
  *        - redirect to any page and let local.inc.php do the magic
- * 
+ *
  * If login fails we have to redirect to index.php with the right message
- * Possible messages are : 
+ * Possible messages are :
  *  - index.php?loginFailed=1&error=access_url_inactive
  *  - index.php?loginFailed=1&error=account_expired
  *  - index.php?loginFailed=1&error=account_inactive
- *  - index.php?loginFailed=1&error=user_password_incorrect 
+ *  - index.php?loginFailed=1&error=user_password_incorrect
  *  - index.php?loginFailed=1&error=unrecognize_sso_origin');
  *
  * */
@@ -49,7 +49,7 @@ if ($ldap_user !== false) {
     $chamilo_user = extldap_get_chamilo_user($ldap_user);
     //userid is not on the ldap, we have to use $uData variable from local.inc.php
     $chamilo_user['user_id'] = $uData['user_id'];
-    
+
     error_log("chamilo_user found user_id: {$uData['user_id']}");
 
     //Update user info