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.
1 parent 3f724b7 commit 64026d4Copy full SHA for 64026d4
pkg/environment/command/organization.go
@@ -98,7 +98,8 @@ func (h *organizationCommandHandler) changePasswordAuthentication(
98
if cmd.PasswordAuthenticationEnabled {
99
h.organization.EnableAuthenticationType(proto.AuthenticationType_AUTHENTICATION_TYPE_PASSWORD)
100
} else {
101
- if err := h.organization.DisableAuthenticationType(proto.AuthenticationType_AUTHENTICATION_TYPE_PASSWORD); err != nil {
+ err := h.organization.DisableAuthenticationType(proto.AuthenticationType_AUTHENTICATION_TYPE_PASSWORD)
102
+ if err != nil {
103
return err
104
}
105
0 commit comments