mirror of https://github.com/halo-dev/halo
![]() #### What type of PR is this? /kind improvement /area core /milestone 2.13.x #### What this PR does / why we need it: In fact, PAT is a JWT, which is very long. However, we put the claim `roles` into PAT, which will cause the length of PAT to increase as the `roles` information increases. So, the current PR removes the claim `roles` from PAT, which ensures that the length of PAT becomes stable and we can update roles information for PAT at runtime. #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/5366 #### Does this PR introduce a user-facing change? ```release-note 避免个人令牌长度随着角色信息增长 ``` |
||
---|---|---|
.. | ||
src | ||
build.gradle |