diff options
Diffstat (limited to 'system/db/user.go')
-rw-r--r-- | system/db/user.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/db/user.go b/system/db/user.go index 3386dc2..4f7a719 100644 --- a/system/db/user.go +++ b/system/db/user.go @@ -215,8 +215,8 @@ func SetRecoveryKey(email string) (string, error) { return key, nil } -// RecoveryKey generates and saves a random secret key to verify an email -// address submitted in order to recover/reset an account password +// RecoveryKey gets a previously set recovery key to verify an email address +// submitted in order to recover/reset an account password func RecoveryKey(email string) (string, error) { key := &bytes.Buffer{} |