fix(login): improve and streamline identity provider styles (#5456)

* fix: login idp styles

* rem dead code
This commit is contained in:
Max Peintner
2023-07-07 13:17:08 +02:00
committed by GitHub
parent 9fed1a7a5b
commit 699fc86d1b
7 changed files with 118 additions and 95 deletions

View File

@@ -48,12 +48,13 @@ func (t IDPType) GetCSSClass() string {
case IDPTypeGitLab,
IDPTypeGitLabSelfHosted:
return "gitlab"
case IDPTypeAzureAD:
return "azure"
case IDPTypeUnspecified,
IDPTypeOIDC,
IDPTypeJWT,
IDPTypeOAuth,
IDPTypeLDAP,
IDPTypeAzureAD:
IDPTypeLDAP:
fallthrough
default:
return ""