Skip to content

v0.0.8

Choose a tag to compare

@github-actions github-actions released this 03 Jul 07:55

fix(login): show an error toast on failed sign-in (401 on /login)

The axios interceptor treated every 401 as "session expired", whose toast +
redirect was guarded by pathname !== '/login' — so a wrong password on the login
page surfaced nothing. Now a 401 on /login shows the server's reason
(用户名或密码错误); other 401s keep the expire-and-redirect behavior.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

Full Changelog: v0.0.7...v0.0.8