Fix #22 - disable user button added

This commit is contained in:
Vojtěch Sajdl
2018-03-10 00:07:40 +01:00
parent 2f51eb4227
commit 5afda409c1
5 changed files with 28 additions and 14 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ Template::render_header(_("Lost password"));
$user->change_password($_POST['token']);
if (isset($message)){?>
<p class="alert alert-danger"><?php echo $message?></p>
<a href="<?php echo WEB_URL;?>/admin/?do=lost-password<?php echo "&amp;id=".$_POST['id']."&amp;token=".$_POST['token'];?>"><?php echo _("Go back");?> </a>
<a href="<?php echo WEB_URL;?>/admin/?do=lost-password<?php echo "&id=".$_POST['id']."&token=".$_POST['token'];?>"><?php echo _("Go back");?> </a>
<?php
}
else{?>