You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nhatier opened this issue
Jun 20, 2018
· 2 comments
Assignees
Labels
BugA problem or regression with an existing featurehas-prAn issue that has a pull request pending that may fix this issue. The pull request may be incomplete
Use "signon" mode in a way that an error occurs on phpMyAdmin side (ex: set incorrect mysql server name) so showFailure() is called (In libraries/classes/Plugins/Auth/AuthenticationSignon.php)
Expected behaviour
showFailure sets a session parameter called "PMA_single_signon_error_message" so the external login script can have access to the error message in case some error happens on phpMyAdmin side.
Actual behaviour
showFailure forgets to consider SignonCookieParams and call session_set_cookie_params before calling session_start. In corner cases, this creates a new session and cookie, so the external script will not have access to the error message.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
BugA problem or regression with an existing featurehas-prAn issue that has a pull request pending that may fix this issue. The pull request may be incomplete
Steps to reproduce
showFailure()is called (Inlibraries/classes/Plugins/Auth/AuthenticationSignon.php)Expected behaviour
showFailuresets a session parameter called "PMA_single_signon_error_message" so the external login script can have access to the error message in case some error happens on phpMyAdmin side.Actual behaviour
showFailureforgets to considerSignonCookieParamsand callsession_set_cookie_paramsbefore callingsession_start. In corner cases, this creates a new session and cookie, so the external script will not have access to the error message.The text was updated successfully, but these errors were encountered: