mirror of https://github.com/halo-dev/halo
#### What type of PR is this? /kind bug /area core #### What this PR does / why we need it: Catch UserNotFoundException instead of ExtensionNotFoundException to map correctly to BadCredentialsException. #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/4057 #### Special notes for your reviewer: 1. Start Halo 2. Login with an username which does not exist 3. Check the response #### Does this PR introduce a user-facing change? ```release-note 修复登录时出现用户名不存在的问题。 ``` |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle | ||