Commit 87f0a31a authored by Nigel McNie's avatar Nigel McNie
Browse files

Don't session_destroy before creating a new liveuser, I don't have any...

Don't session_destroy before creating a new liveuser, I don't have any evidence that it does anything useful now.
parent 36068bd9
...@@ -997,7 +997,6 @@ function login_submit(Pieform $form, $values) { ...@@ -997,7 +997,6 @@ function login_submit(Pieform $form, $values) {
try { try {
// Reset the LiveUser object, since we are attempting to create a // Reset the LiveUser object, since we are attempting to create a
// new user // new user
session_destroy();
$USER = new LiveUser(); $USER = new LiveUser();
$authinstances = get_records_sql_array(' $authinstances = get_records_sql_array('
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment