Compare commits

...

1 Commits

Author SHA1 Message Date
WhyteAsamoah 44b2b65764 Fixed wrong password alert 2022-06-15 17:00:02 +08:00
1 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,11 @@
<?php <?php
// Destory sessions & redirect to index
session_destroy();
session_unset();
// Start a new session // Start a new session
session_start(); session_start();
// Destory sessions & redirect to index
session_destroy();
session_unset();
// Generate a new session ID // Generate a new session ID
session_regenerate_id(true); session_regenerate_id(true);