public virtual ActionResult Home() { var identity = OwinContext.Authentication?.User?.Identity as ClaimsIdentity; var showTransformModal = ClaimsExtensions.HasDiscontinuedLoginClaims(identity); var user = GetCurrentUser(); var transformIntoOrganization = _contentObjectService .LoginDiscontinuationConfiguration .ShouldUserTransformIntoOrganization(user); var externalIdentityList = ClaimsExtensions.GetExternalCredentialIdentityList(identity); var showEnable2FAModal = _featureFlagService.IsShowEnable2FADialogEnabled(); var getFeedbackOnModalDismiss = _featureFlagService.IsGet2FADismissFeedbackEnabled(); return(View(new GalleryHomeViewModel(showTransformModal, transformIntoOrganization, showEnable2FAModal, getFeedbackOnModalDismiss, externalIdentityList))); }