Fix session current cookie being corrupted when creating a user and the user exists.
This commit is contained in:
@@ -114,7 +114,6 @@ function cmd_do_new()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$_SESSION['current'] = "";
|
|
||||||
retry("new", "Failed to create account");
|
retry("new", "Failed to create account");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user