mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-06-07 02:22:30 +00:00
Reformat with rustfmt
This commit is contained in:
@@ -291,9 +291,10 @@ Error details: {e}
|
||||
Ok(response) => {
|
||||
let status = response.status();
|
||||
// We intentionally omit the required 'localpart' parameter in this request.
|
||||
// If authentication is successful, Synapse returns a 400 Bad Request because of the missing parameter.
|
||||
// If authentication fails, Synapse will return a 403 Forbidden.
|
||||
// If the MAS integration isn't enabled, Synapse will return a 404 Not found.
|
||||
// If authentication is successful, Synapse returns a 400 Bad Request because of
|
||||
// the missing parameter. If authentication fails, Synapse
|
||||
// will return a 403 Forbidden. If the MAS integration isn't
|
||||
// enabled, Synapse will return a 404 Not found.
|
||||
if status == StatusCode::BAD_REQUEST {
|
||||
info!(
|
||||
r#"✅ The Synapse admin API is reachable with authentication at "{mas_api}"."#
|
||||
|
||||
Reference in New Issue
Block a user