Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG][後端測試表] /v1/users/SYSOP/information 登入時間沒有被修改 #257

Open
PichuChen opened this issue Jul 30, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@PichuChen
Copy link
Member

PichuChen commented Jul 30, 2021

發生了什麼事? / The Problem

  • 在登入後理論上上 last_login_ip 這個欄位以及 last_login_time 應該要被更新,但是沒有被更新。

請見測試表 C2-1-5

如何重現 / To Reproduce

  1. 使用預設資料集
  2. 登入 SYSOP 帳號,取得 Access Token
  3. curl http://localhost:8081/v1/users/SYSOP/information -H "Authorization: bearer $ACCESS_TOKEN"

預期的行為 / Expected behavior

  1. 登入後可能需要修改原本的 Userec,這部分也許需要 go-bbs 支援修改
  2. 在 go-bbs 還沒修改之前,有可能把登入記錄先存在 Ptt-backend 的 process memory 裡面嗎? 缺點應該是中開會 reset

螢幕截圖 / Screenshots

截圖 2021-07-31 上午7 44 16

開發環境 / Environment

如需要再另外提供
Ptt-backend: v0.0.5 (0371cfc)

@PichuChen PichuChen added the bug Something isn't working label Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant