Can perform local authentication

This commit is contained in:
2023-09-02 18:44:16 +02:00
parent bb31954b22
commit 849bf0cdfb
7 changed files with 93 additions and 2 deletions

View File

@ -28,6 +28,6 @@ impl FromRequest for LocalAuthEnabled {
.headers()
.get(&AppConfig::get().disable_auth_header_token)
.is_some();
return ready(Ok(Self(!has_disable_local_auth_header)));
ready(Ok(Self(!has_disable_local_auth_header)))
}
}