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:
@@ -928,7 +928,7 @@ legend {
|
|||||||
//login form
|
//login form
|
||||||
echo "<div align='right'>\n";
|
echo "<div align='right'>\n";
|
||||||
echo "<form name='login' METHOD=\"POST\" action=\"".$_SESSION['login']['destination']['url']."\">\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 "<table width='200' border='0'>\n";
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
//echo "<td align='left'>\n";
|
//echo "<td align='left'>\n";
|
||||||
|
|||||||
@@ -796,7 +796,7 @@ table tr:nth-last-child(-5) td:first-of-type {
|
|||||||
//login form
|
//login form
|
||||||
echo "<div align='right'>\n";
|
echo "<div align='right'>\n";
|
||||||
echo "<form name='login' METHOD=\"POST\" action=\"".$_SESSION['login']['destination']['url']."\">\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 "<table width='200' border='0'>\n";
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
//echo "<td align='left'>\n";
|
//echo "<td align='left'>\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user