Skip to content

Commit 4e2b834

Browse files
committed
Use GET instead of QUERY_STRING
1 parent f71f0ad commit 4e2b834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/lostpassword/templates/resetpassword.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form action="<?php echo 'resetpassword.php?'.$_SERVER['QUERY_STRING']; ?>" method="post">
1+
<form action="<?php echo 'resetpassword.php?user='.htmlentities($_GET['user']).'&token='.htmlentities($_GET['token']); ?>" method="post">
22
<fieldset>
33
<?php if($_['success']): ?>
44
<h1><?php echo $l->t('Your password was reset'); ?></h1>

0 commit comments

Comments
 (0)