summaryrefslogtreecommitdiff
path: root/login_form.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-03-27 16:40:23 +0400
committerAndrew Dolgov <[email protected]>2011-03-27 16:40:23 +0400
commitf98252f27cb979f5285b65908b1b24a913b1af81 (patch)
tree29c1940c5e6728f532716db81105227dffbdee30 /login_form.php
parent535d216a7dc7b686374aec65197090ccfb99020d (diff)
allow authentication using SSL client certificates (closes #324)
Diffstat (limited to 'login_form.php')
-rw-r--r--login_form.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/login_form.php b/login_form.php
index e7ec0a68b..1dbc00549 100644
--- a/login_form.php
+++ b/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 $_SERVER["REMOTE_USER"] ?>"></td></tr>
+ value="<?php echo get_remote_user() ?>"></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 $_SERVER["REMOTE_USER"] ?>"></td></tr>
+ value="<?php echo get_remote_fakepass() ?>"></td></tr>
<tr><td align="right"><?php echo __("Language:") ?></td>
<td align="right">
<?php