fix compiler warnings
This commit is contained in:
parent
bb063eda80
commit
8e7952131b
|
@ -332,7 +332,6 @@ pub async fn auth_basic_get(
|
|||
|
||||
StatusCode::INTERNAL_SERVER_ERROR
|
||||
})?;
|
||||
drop(database);
|
||||
|
||||
return Ok((
|
||||
StatusCode::OK,
|
||||
|
|
|
@ -100,7 +100,6 @@ impl AuthDriver for LdapAuthDriver {
|
|||
};
|
||||
|
||||
database.create_user(email.clone(), display_name, LoginSource::LDAP).await?;
|
||||
drop(database);
|
||||
|
||||
// Set the user registry type
|
||||
let user_type = match self.is_user_admin(email.clone()).await? {
|
||||
|
|
Loading…
Reference in New Issue