Commit ddf9bfc0 authored by Imran Hussain's avatar Imran Hussain
Browse files

Fix a bug where username from old sucs site was not properly 'imported'

parent e3965639
......@@ -92,6 +92,7 @@ if ( isset($_POST["username"]) && isset($_POST["password"]) && !$RATELIMITED ) {
// we have a vlid username from a old session
$DB_CON->exec("UPDATE sessions SET sucs_username='${username}' WHERE id='${SESSIONID}'");
$SUCS_LOGIN = true;
$details["sucs_username"] = $username;
}
}
......
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