totp: Directly show secret to add

This commit is contained in:
Tom Wiesing 2023-01-12 17:35:45 +01:00
parent 202599aaeb
commit ef76844922
No known key found for this signature in database
3 changed files with 15 additions and 6 deletions

View file

@ -22,7 +22,8 @@ var (
errPasswordsNotIdentical = errors.New("passwords are not identical")
errCredentialsIncorrect = errors.New("credentials are not correct")
errPasswordSetFailure = errors.New("error saving new password")
errTOTPSetFailure = errors.New("unable to disable totp")
errTOTPSetFailure = errors.New("unable to enable totp")
errTOTPUnsetFailure = errors.New("unable to disable totp")
errPasswordSet = errors.New("password was updated")
)