Fixed wrong password alert (#43)
The session start() function was on the wrong line in the logout.php file. I just changed it to the appropriate line of code, before the session destroy() function. Co-authored-by: WhyteAsamoah <whyteasamoahgyamfi@outlook.com> Reviewed-on: http://121.4.94.30:3000/mrlan/LRR/pulls/43 Co-authored-by: YEBOAH MARTHA ASAMOAH <3534763826@qq.com> Co-committed-by: YEBOAH MARTHA ASAMOAH <3534763826@qq.com>Bug457-YAAQOB
parent
6831fdcd0f
commit
e9a7af1059
|
@ -1,11 +1,11 @@
|
|||
<?php
|
||||
|
||||
// Destory sessions & redirect to index
|
||||
|
||||
session_destroy();
|
||||
session_unset();
|
||||
// Start a new session
|
||||
session_start();
|
||||
// Destory sessions & redirect to index
|
||||
session_destroy();
|
||||
session_unset();
|
||||
|
||||
|
||||
// Generate a new session ID
|
||||
session_regenerate_id(true);
|
||||
|
|
Loading…
Reference in New Issue