View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004952 | mantisbt | scripting | public | 2004-12-08 12:46 | 2005-04-18 10:38 |
Reporter | nauman | Assigned To | thraxisp | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 1.0.0a1 | ||||
Summary | 0004952: some issues with script authentication support | ||||
Description | auth_logout() should set global $g_cache_current_user_id to null to support scripts authenticating as one user, logging out and authenticating as another user. Currently, the first users is cached and no other user can authenticate. Should not be clearing cookies with gpc_clear_cookie() in auth_clear_cookies() and helper_clear_pref_cookies() from auth_logout() when authentication is through a script. Otherwise you get messages like this written to console Cannot modify header information - headers already sent by (output started at C: Following are the mods I made for this. Sorry I don't know how to use patch tools. function auth_logout() { function auth_clear_cookies() { $cookies_cleared = false; | ||||
Tags | No tags attached. | ||||