mirror of
https://github.com/Mibew/tray.git
synced 2025-01-23 02:20:35 +03:00
remove backpath from page as it is stored in session
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@445 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
parent
76129088c4
commit
ce5fe55af3
@ -16,7 +16,7 @@ require_once('../libs/common.php');
|
|||||||
require_once('../libs/operator.php');
|
require_once('../libs/operator.php');
|
||||||
|
|
||||||
$errors = array();
|
$errors = array();
|
||||||
$page = array( 'backPath' => '', 'formisRemember' => true, 'version' => $version);
|
$page = array( 'formisRemember' => true, 'version' => $version);
|
||||||
|
|
||||||
if( isset($_POST['login']) && isset($_POST['password']) ) {
|
if( isset($_POST['login']) && isset($_POST['password']) ) {
|
||||||
$login = getparam('login');
|
$login = getparam('login');
|
||||||
|
@ -28,7 +28,6 @@ function tpl_content() { global $page, $webimroot, $errors;
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form name="loginForm" method="post" action="<?php echo $webimroot ?>/operator/login.php">
|
<form name="loginForm" method="post" action="<?php echo $webimroot ?>/operator/login.php">
|
||||||
<input type="hidden" name="backPath" value="<?php echo $page['backPath'] ?>"/>
|
|
||||||
<div id="loginpane">
|
<div id="loginpane">
|
||||||
|
|
||||||
<div class="header">
|
<div class="header">
|
||||||
|
Loading…
Reference in New Issue
Block a user