totp: Directly show secret to add
This commit is contained in:
parent
202599aaeb
commit
ef76844922
3 changed files with 15 additions and 6 deletions
|
|
@ -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")
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue