Return users to the submit page after logging in.
This commit is contained in:
committed by
WineHQ
parent
023ece493b
commit
c9d7873b29
@@ -455,8 +455,8 @@ class ObjectManager
|
|||||||
if($oObject->allowAnonymousSubmissions() || $_SESSION['current']->isLoggedIn())
|
if($oObject->allowAnonymousSubmissions() || $_SESSION['current']->isLoggedIn())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
util_show_error_page_and_exit("You need to be <a href=\"".BASE.
|
util_show_error_page_and_exit("You need to be <a href=\"".login_url().
|
||||||
"account.php?sCmd=login\">logged in</a>. If you don’t have an ".
|
"\">logged in</a>. If you don’t have an ".
|
||||||
"account you can <a href=\"".BASE."account.php?sCmd=new\">register ".
|
"account you can <a href=\"".BASE."account.php?sCmd=new\">register ".
|
||||||
"now</a>, it only takes a few seconds.");
|
"now</a>, it only takes a few seconds.");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user