summaryrefslogtreecommitdiff
path: root/include/login_form.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-08-16 15:30:35 +0400
committerAndrew Dolgov <[email protected]>2012-08-16 15:30:49 +0400
commit0d421af86fdfe270e7396f308cf53f3b908e3d74 (patch)
treea8a497d6a3f28ab030b8e232bd7a0057512c417c /include/login_form.php
parent7e18f8e710d3b5af211be0a658d863a00d10bd67 (diff)
split authentication to separate modules
Diffstat (limited to 'include/login_form.php')
-rw-r--r--include/login_form.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/login_form.php b/include/login_form.php
index ef085136d..6752d5d01 100644
--- a/include/login_form.php
+++ b/include/login_form.php
@@ -131,11 +131,11 @@ function validateLoginForm(f) {
<tr><td align="right"><?php echo __("Login:") ?></td>
<td align="right"><input name="login"
onchange="fetchProfiles()" onfocus="fetchProfiles()"
- value="<?php echo get_remote_user($link) ?>"></td></tr>
+ value="<? echo $_SESSION["fake_login"] ?>"></td></tr>
<tr><td align="right"><?php echo __("Password:") ?></td>
<td align="right"><input type="password" name="password"
onchange="fetchProfiles()" onfocus="fetchProfiles()"
- value="<?php echo get_remote_fakepass($link) ?>"></td></tr>
+ value="<? echo $_SESSION["fake_password"] ?>"></td></tr>
<tr><td align="right"><?php echo __("Language:") ?></td>
<td align="right">
<?php