We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b6b4881 + e378545 commit 9e50232Copy full SHA for 9e50232
routers/web/user/setting/security/security.go
@@ -82,7 +82,7 @@ func loadSecurityData(ctx *context.Context) {
82
// map the provider display name with the AuthSource
83
sources := make(map[*auth_model.Source]string)
84
for _, externalAccount := range accountLinks {
85
- if authSource, err := auth_model.GetSourceByID(ctx, externalAccount.LoginSourceID); err == nil {
+ if authSource, err := auth_model.GetSourceByID(ctx, externalAccount.LoginSourceID); err == nil && authSource.IsActive {
86
var providerDisplayName string
87
88
type DisplayNamed interface {
0 commit comments