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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user