quick test

This commit is contained in:
Kai Jan Kriegel 2022-11-11 20:40:36 +01:00
parent 59937fa4bd
commit b419527c83

View File

@ -50,9 +50,9 @@ impl SessionCallback for Callback {
let password = context.get_ref::<Password>() let password = context.get_ref::<Password>()
.ok_or(ValidationError::MissingRequiredProperty)?; .ok_or(ValidationError::MissingRequiredProperty)?;
if authzid.is_some() { // if authzid.is_some() {
return Ok(()) // return Ok(())
} // }
if let Some(user) = self.users.get_user(authcid) { if let Some(user) = self.users.get_user(authcid) {
match user.check_password(password) { match user.check_password(password) {