Skip to content

Commit 9e50232

Browse files
committed
Merge branch 'main' into sahinakkaya/main
2 parents b6b4881 + e378545 commit 9e50232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/user/setting/security/security.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func loadSecurityData(ctx *context.Context) {
8282
// map the provider display name with the AuthSource
8383
sources := make(map[*auth_model.Source]string)
8484
for _, externalAccount := range accountLinks {
85-
if authSource, err := auth_model.GetSourceByID(ctx, externalAccount.LoginSourceID); err == nil {
85+
if authSource, err := auth_model.GetSourceByID(ctx, externalAccount.LoginSourceID); err == nil && authSource.IsActive {
8686
var providerDisplayName string
8787

8888
type DisplayNamed interface {

0 commit comments

Comments
 (0)