Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context
There is no login check function in the project, and after deployment, it is a fully developed forum
What I changed
Added login check configuration "logged_in_required", the forum must be logged in to access. If not logged in, it will continue to jump to the login interface. This "logged_in_required" is optional. If it is equal to "true", it means the login check function is enabled. If it is equal to "false", the forum can be accessed without logging in.
At the same time, I set up a configuration called "sso_logout_url". If an SSO logout URL is set, the user will be redirected to that URL after logging out