mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-28 04:46:42 -04:00
Fix inconsistent error message
This commit is contained in:
+1
-1
@@ -88,7 +88,7 @@ func GenTOTP(secret string, time time.Time, forSteam bool) (string, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", errors.New("error generating TOTP code: " + err.Error())
|
return "", errors.New("unable to generate TOTP token: " + err.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
return totpToken, nil
|
return totpToken, nil
|
||||||
|
|||||||
Reference in New Issue
Block a user