Skip to content

Commit 94e358f

Browse files
odelcroisandhose
andcommitted
Update crates/handlers/src/upstream_oauth2/link.rs
Co-authored-by: Quentin Gliech <quenting@element.io>
1 parent 6b91246 commit 94e358f

File tree

1 file changed

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

1 file changed

+0
-1
lines changed

crates/handlers/src/upstream_oauth2/link.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,6 @@ pub(crate) async fn post(
681681
}
682682
let context = context.build();
683683

684-
// `is_forced` checks both if is it `force` or `require`
685684
if !provider.claims_imports.localpart.is_forced_or_required() {
686685
//Claims import for `localpart` should be `require` or `force` at this stage
687686
return Err(RouteError::InvalidFormAction);

0 commit comments

Comments
 (0)