Added additional parameter passed to LDAP auth module for checking existing user data in DB
							parent
							
								
									b18c4d2855
								
							
						
					
					
						commit
						9643ef3f6f
					
				|  | @ -252,7 +252,7 @@ class User | |||
|                 // Delegate the authentication to the PsmLDAPauth module.
 | ||||
|                 // If LDAP auth fails or if library not found, fall back to native auth
 | ||||
|                 include_once($ldaplibpath); | ||||
|                 $ldapauthstatus = psmldapauth($user_name, $user_password, $GLOBALS['sm_config'], $this->db_connection); | ||||
|                 $ldapauthstatus = psmldapauth($user_name, $user_password, $GLOBALS['sm_config'], $this->db_connection, $this->getUserByUsername($user_name)); | ||||
|             } | ||||
|         } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 viharm
						viharm