Fix for Issue 481 - Links to protected pages (such as emailed conference recording links) will now properly redirect after login.

This commit is contained in:
Nate Jones 2014-06-18 03:13:12 +00:00
parent e6c69306eb
commit ae8e438933
2 changed files with 2 additions and 2 deletions

View File

@ -928,7 +928,7 @@ legend {
//login form
echo "<div align='right'>\n";
echo "<form name='login' METHOD=\"POST\" action=\"".$_SESSION['login']['destination']['url']."\">\n";
echo "<input type='hidden' name='path' value='$path'>\n";
echo "<input type='hidden' name='path' value='".$_GET['path']."'>\n";
echo "<table width='200' border='0'>\n";
echo "<tr>\n";
//echo "<td align='left'>\n";

View File

@ -796,7 +796,7 @@ table tr:nth-last-child(-5) td:first-of-type {
//login form
echo "<div align='right'>\n";
echo "<form name='login' METHOD=\"POST\" action=\"".$_SESSION['login']['destination']['url']."\">\n";
echo "<input type='hidden' name='path' value='$path'>\n";
echo "<input type='hidden' name='path' value='".$_GET['path']."'>\n";
echo "<table width='200' border='0'>\n";
echo "<tr>\n";
//echo "<td align='left'>\n";