Fix password reset via CLI
This commit is contained in:
parent
89e8e94bf1
commit
fa49bcaf8b
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ func resetPassword(store *storage.Storage) {
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
user.Password = password
|
||||||
if err := store.UpdateUser(user); err != nil {
|
if err := store.UpdateUser(user); err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "%v\n", err)
|
fmt.Fprintf(os.Stderr, "%v\n", err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
|
Loading…
Reference in a new issue