Ptt-official-app / go-pttbbs

golang 版本 的 pttbbs (https://github.com/ptt/pttbbs)
https://doc-pttbbs.devptt.dev
GNU General Public License v3.0
29 stars 15 forks source link

expire-time when creating token #383

Closed chhsiao1981 closed 1 year ago

chhsiao1981 commented 1 year ago

這個 PR 的目的 / Purpose of this PR

相關的 issue / Related Issues

codecov-commenter commented 1 year ago

Codecov Report

Merging #383 (be7879d) into main (3d953d0) will increase coverage by 0.02%. Report is 4 commits behind head on main. The diff coverage is 83.33%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main     #383      +/-   ##
==========================================
+ Coverage   54.32%   54.35%   +0.02%     
==========================================
  Files         212      212              
  Lines       12392    12412      +20     
==========================================
+ Hits         6732     6746      +14     
- Misses       4554     4558       +4     
- Partials     1106     1108       +2     
Files Changed Coverage Δ
api/change_passwd.go 50.00% <72.72%> (+1.61%) :arrow_up:
api/register.go 63.41% <72.72%> (-1.30%) :arrow_down:
api/auth_utils.go 59.32% <80.00%> (+0.34%) :arrow_up:
api/login.go 50.00% <100.00%> (+3.57%) :arrow_up:
api/refresh.go 43.75% <100.00%> (+2.44%) :arrow_up: