liberodark
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/api/identity.rs
|
|
@ -102,7 +102,7 @@ fn _password_login(data: ConnectData, conn: DbConn, ip: ClientIp) -> JsonResult |
|
|
|
*/ |
|
|
|
|
|
|
|
let ldap = LdapConn::new(CONFIG.ldap_host.as_str())?; |
|
|
|
match ldap.simple_bind(data.username, data.password) { |
|
|
|
match ldap.simple_bind(data.username.unwrap(), data.password.unwrap()) { |
|
|
|
_ => {} |
|
|
|
}; |
|
|
|
|
|
|
|