Description
This came up while looking into the integration issue between MediaWiki and SMF. PHP 7.2 has also introduced a session_start issue which has made it impossible for us in the integration to step into SMF session and modify session data or obtain the session info to allow redirects or logouts. Redirects issue will be resolved in a pr that allows us to as safely as possible issue a redirect from outside SMF. I've got an idea in mind that will fix this.
We should allow at the logout screen to prompt to logout.
- This should trigger only when action=logout is called with no session validation.
- If the session validation is invalid, the standard invalid session alert should trigger.
- The page should simply ask for confirmation to log out. Clicking confirm should just be the logout action with the session validation.
- Setup this way should prevent backwards compatibility breakage.
Additional information/references
SimpleMachines/smf-mw-auth#11 (comment)
elkarte/Elkarte#3368
Description
This came up while looking into the integration issue between MediaWiki and SMF. PHP 7.2 has also introduced a session_start issue which has made it impossible for us in the integration to step into SMF session and modify session data or obtain the session info to allow redirects or logouts. Redirects issue will be resolved in a pr that allows us to as safely as possible issue a redirect from outside SMF. I've got an idea in mind that will fix this.
We should allow at the logout screen to prompt to logout.
Additional information/references
SimpleMachines/smf-mw-auth#11 (comment)
elkarte/Elkarte#3368