Commit 2c9f9cf0 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor fix for auth token (new users).

parent 7aa4569f
......@@ -766,6 +766,13 @@ function Do_Submit()
$args["email"] = ($this_user ?
$this_user->email() : $formfields["email"]);
$args["profile"] = $formfields["profile"];
if (!$this_user) {
session_start();
if (isset($_SESSION["verified"])) {
$args["auth_token"] = $_SESSION["auth_token"];
}
}
if (0) {
TBERROR(print_r($args, true), 0);
......
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