• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / remark42 / 44851633033
87%

Build:
DEFAULT BRANCH: master
Ran 21 Nov 2026 01:44AM UTC
Jobs 1
Files 57
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Nov 2026 01:41AM UTC coverage: 86.977% (+0.008%) from 86.969%
44851633033

push

github

umputun
Renew an expired token when the email is set or removed

Previously, setEmail and deleteEmailCtrl wrote the token a second time,
to carry the new address, with claims read off the request. When the
request arrived with an expired token in the cookie, the auth
middleware had renewed it a moment earlier, and Set keeps an ExpiresAt
it is given. The answer therefore replaced the renewed token, in the
cookie and in the X-JWT header, with one that had expired already.
With AUTH_SEND_JWT_HEADER the widget went on to send that token and
got 401.

After this change, both handlers write the token through
setTokenClaims, which renews an expired token and keeps the expiry of
a valid one.

7 of 7 new or added lines in 1 file covered. (100.0%)

6799 of 7817 relevant lines covered (86.98%)

51.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 44851633033.1 21 Nov 2026 01:44AM UTC 57
86.98
GitHub Action Run
Source Files on build 44851633033
  • Tree
  • List 57
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c102c27a on github
  • Prev Build on master (#44851033269)
  • Next Build on master (#44857567859)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc