make sure that external login condition checks for allowManualLinking
This commit is contained in:
@@ -10,7 +10,7 @@ export class UmbUserAllowExternalLoginActionCondition extends UmbConditionBase<n
|
||||
// Check if there are any MFA providers available
|
||||
this.observe(
|
||||
umbExtensionsRegistry.byType('authProvider'),
|
||||
(exts) => (this.permitted = exts.length > 0),
|
||||
(exts) => (this.permitted = exts.length > 0 && exts.some((ext) => ext.meta?.linking?.allowManualLinking)),
|
||||
'_userAllowExternalLoginActionConditionProviders',
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user