mirror of
https://github.com/The-Network-Crew/Proxmox-VE-for-WHMCS.git
synced 2026-04-02 02:28:18 +00:00
Delete cookie before setting it (#167)
This commit is contained in:
@@ -21,6 +21,11 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
// Delete the authentication cookie, if it exists
|
||||
if (isset($_COOKIE['PVEAuthCookie'])) {
|
||||
unset($_COOKIE['PVEAuthCookie']);
|
||||
}
|
||||
|
||||
if (isset($_GET['pveticket']) && isset($_GET['host']) && isset($_GET['path']) && isset($_GET['vncticket'])) {
|
||||
// Take passed-in variables and re-assign for usage
|
||||
$pveticket = $_GET['pveticket'];
|
||||
|
||||
Reference in New Issue
Block a user