Skip to content

add login check and logout url #1464

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wwweiii
Copy link

@wwweiii wwweiii commented Apr 30, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant