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 8bbc40c commit 0dab41fCopy full SHA for 0dab41f
pkg/util/mfa/mfa.go
@@ -20,7 +20,7 @@ func GetOtp(username string) (otp Otp, err error) {
20
secret := gotp.RandomSecret(secretLength)
21
otp.Secret = secret
22
totp := gotp.NewDefaultTOTP(secret)
23
- uri := totp.ProvisioningUri(username, "Kubepi")
+ uri := totp.ProvisioningUri(username, "KubePi")
24
subImg, err := qrcode.Encode(uri, qrcode.Medium, 256)
25
dist := make([]byte, 3000)
26
base64.StdEncoding.Encode(dist, subImg)
0 commit comments