summaryrefslogtreecommitdiff
path: root/login_form.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-08-01 04:47:16 +0100
committerAndrew Dolgov <[email protected]>2008-08-01 04:47:16 +0100
commit73f5f114ec76d32db19f3dcc2aa571c912ed360b (patch)
treefd382dfdfa29c9a38973cf68e401b3102d76afa2 /login_form.php
parent8dccabedaee3450642c58c75101ff52c38508112 (diff)
merge tweaks to ALLOW_REMOTE_USER_AUTH functionality from Erick Rudiak
Diffstat (limited to 'login_form.php')
-rw-r--r--login_form.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/login_form.php b/login_form.php
index b2c6bcf59..cf764bfe8 100644
--- a/login_form.php
+++ b/login_form.php
@@ -101,9 +101,11 @@ window.onload = init;
<?php } ?>
<table>
<tr><td align="right"><?php echo __("Login:") ?></td>
- <td align="right"><input name="login"></td></tr>
+ <td align="right"><input name="login"
+ value="<?php echo $_SERVER["REMOTE_USER"] ?>"></td></tr>
<tr><td align="right"><?php echo __("Password:") ?></td>
- <td align="right"><input type="password" name="password"></td></tr>
+ <td align="right"><input type="password" name="password"
+ value="<?php echo $_SERVER["REMOTE_USER"] ?>"></td></tr>
<?php if (ENABLE_TRANSLATIONS) { ?>
<tr><td align="right"><?php echo __("Language:") ?></td>
<td align="right">