Can perform local authentication
This commit is contained in:
@ -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)))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user