Skip to content

Commit 9668418

Browse files
sandhosereivilibre
andauthored
Update comment
Co-authored-by: reivilibre <[email protected]>
1 parent 36867bd commit 9668418

File tree

1 file changed

+1
-1
lines changed
  • crates/handlers/src/upstream_oauth2

1 file changed

+1
-1
lines changed

crates/handlers/src/upstream_oauth2/link.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ pub(crate) async fn post(
722722
homeserver_denied_username = true;
723723
}
724724

725-
// If we need have a TOS in the config, make sure the user has accepted it
725+
// If we have a TOS in the config, make sure the user has accepted it
726726
if site_config.tos_uri.is_some() && !accept_terms {
727727
form_state.add_error_on_field(
728728
mas_templates::UpstreamRegisterFormField::AcceptTerms,

0 commit comments

Comments
 (0)