Repository navigation
feat: add remember-me mechanism to enhance user login experience - #5929
Conversation
|
@ruibaby 帮忙适配一下 Console 登陆页面,添加 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5929 +/- ##
============================================
- Coverage 56.91% 56.46% -0.45%
- Complexity 3319 3512 +193
============================================
Files 587 617 +30
Lines 18968 20745 +1777
Branches 1401 1440 +39
============================================
+ Hits 10795 11713 +918
- Misses 7594 8449 +855
- Partials 579 583 +4 ☔ View full report in Codecov by Sentry. |
4194359 to
8615bc5
Compare
|
/ping @JohnNiang |
|
/hold 经过探讨发现通过 session 的 cookie 来实现 remember me 很容易被覆盖比如 totp,因此此 PR 将实现 Token Based 的方式来使用一个新的 cookie 值避免被影响 |
|
/unhold |
57cc1fd to
d4573bb
Compare
Done |
# Conflicts: # application/src/main/java/run/halo/app/security/authentication/CryptoService.java # application/src/main/java/run/halo/app/security/authentication/login/impl/RsaKeyService.java
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5929 +/- ##
============================================
- Coverage 56.91% 56.38% -0.53%
- Complexity 3319 3501 +182
============================================
Files 587 615 +28
Lines 18968 20698 +1730
Branches 1401 1439 +38
============================================
+ Hits 10795 11671 +876
- Misses 7594 8446 +852
- Partials 579 581 +2 ☔ View full report in Codecov by Sentry. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JohnNiang The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |





What type of PR is this?
/kind feature
/area core
/milestone 2.16.x
What this PR does / why we need it:
为登录增加记住我机制以优化登录体验
how to test it?
Which issue(s) this PR fixes:
Fixes #2362
Does this PR introduce a user-facing change?