Update Casdoor configuration and enhance user experience in the application. Changed CASDOOR_ENDPOINT and CASDOOR_REDIRECT_URI to use secure URLs. Improved login message to prompt users in Chinese. Added session cookie settings for cross-domain SSO. Cleaned up flash messages on successful login. Updated logging to reflect user actions and application startup events.

This commit is contained in:
2025-12-10 16:51:40 +08:00
parent 0bb323bbff
commit 539a981567
11 changed files with 172 additions and 859 deletions
+3 -2
View File
@@ -35,9 +35,10 @@ UWSGI_DISABLE_LOGGING=true
UWSGI_MEMORY_REPORT=true
UWSGI_ENABLE_THREADS=true
CASDOOR_ENDPOINT=http://10.10.10.14:18000
# casdoor配置
CASDOOR_ENDPOINT=https://casdoor.dhdx.fun
CASDOOR_CLIENT_ID=8f323670e073612794ef
CASDOOR_CLIENT_SECRET=bc37d89f9220fe5a46c17125c731d2daf22f1299
CASDOOR_REDIRECT_URI=http://10.10.10.14:18019/callback
CASDOOR_REDIRECT_URI=https://zd.dhdx.fun/callback
CASDOOR_ORGANIZATION_NAME=built-in
CASDOOR_APPLICATION_NAME=4an