Return users to the submit page after logging in.

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-07-24 01:49:40 +00:00
committed by WineHQ
parent 023ece493b
commit c9d7873b29

View File

@@ -455,8 +455,8 @@ class ObjectManager
if($oObject->allowAnonymousSubmissions() || $_SESSION['current']->isLoggedIn())
return;
util_show_error_page_and_exit("You need to be <a href=\"".BASE.
"account.php?sCmd=login\">logged in</a>. If you don&#8217;t have an ".
util_show_error_page_and_exit("You need to be <a href=\"".login_url().
"\">logged in</a>. If you don&#8217;t have an ".
"account you can <a href=\"".BASE."account.php?sCmd=new\">register ".
"now</a>, it only takes a few seconds.");
}