Skip to content

Commit

Permalink
Addressing PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
pragatimodi committed Jun 22, 2023
1 parent d29e057 commit 6921afb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions auth/user_mgt.go
Original file line number Diff line number Diff line change
Expand Up @@ -690,9 +690,6 @@ func validateAndFormatMfaSettings(mfaSettings MultiFactorSettings, methodType st
return nil, fmt.Errorf("\"uid\" is not supported when adding second factors via \"createUser()\"")
}
case updateUserMethod:
if multiFactorInfo.UID == "" {
return nil, fmt.Errorf("the second factor \"uid\" must be a valid non-empty string when adding second factors via \"updateUser()\"")
}
default:
return nil, fmt.Errorf("unsupported methodType: %s", methodType)
}
Expand Down

0 comments on commit 6921afb

Please sign in to comment.