halo/application
John Niang 8ffdb5ed1b
Fix the problem of resolving authentication in template when using curl or ab command (#3909)
#### What type of PR is this?

/kind bug
/area core
/milestone 2.6.x

#### What this PR does / why we need it:

When we use curl or ab command to access any pages rendered by thymeleaf at first up, we will get the error described in <https://github.com/halo-dev/halo/issues/3861>.

This PR will resolve the problem by checking null value.

#### Which issue(s) this PR fixes:

Fixes https://github.com/halo-dev/halo/issues/3861

#### Does this PR introduce a user-facing change?

```release-note
解决访问页面无法渲染的问题
```
2023-05-08 08:47:41 +00:00
..
src Fix the problem of resolving authentication in template when using curl or ab command (#3909) 2023-05-08 08:47:41 +00:00
build.gradle Upgrade plugin presets (#3854) 2023-04-26 07:06:12 +00:00