1
0
mirror of https://github.com/fumiama/paper-manager.git synced 2026-06-20 02:16:22 +08:00

add dashboard/account

This commit is contained in:
源文雨
2023-03-21 00:29:25 +08:00
parent 1573b63d8b
commit dae0830d24
15 changed files with 463 additions and 49 deletions

View File

@@ -88,7 +88,7 @@ func acceptMessage(token string, id int) error {
if err != nil {
return err
}
return global.UserDB.UpdateUserPassword(*u.ID, "123456")
return global.UserDB.UpdateUserPassword(*u.ID, user.Name, "123456")
default:
return errNothingToDo
}