View file modules/user/exit.php
<?php if (is_user()) { setcookie('username', '', time()-1, '/'); setcookie('password', '', time()-1, '/'); session_destroy(); header('Location: /'); } else { header('Location: /'); } ?>
<?php if (is_user()) { setcookie('username', '', time()-1, '/'); setcookie('password', '', time()-1, '/'); session_destroy(); header('Location: /'); } else { header('Location: /'); } ?>