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) {
try {
// Reset the LiveUser object, since we are attempting to create a
// new user
session_destroy();
$USER = new LiveUser();
$authinstances = get_records_sql_array('
......
Markdown is supported
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