mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-27 20:36:29 -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 {
|
||||
return "", errors.New("error generating TOTP code: " + err.Error())
|
||||
return "", errors.New("unable to generate TOTP token: " + err.Error())
|
||||
}
|
||||
|
||||
return totpToken, nil
|
||||
|
||||
Reference in New Issue
Block a user