File: /var/www/vhosts/creativefellows.nl/jhtaxatie.creativefellows.nl/views/reset.php
<div class="poster-bg">
<div class="row login-user">
<div class="small-12 large-4 large-offset-4 columns">
<?php
/*
* Login Form
*/
echo '<form class="default-form login" action="'. $router->pathFor('password.post') .'" method="post">';
echo '<div class="small-12 columns text-center">';
echo '<h4>Wachtwoord hestellen</h4>';
echo '</div>';
echo '<div class="small-12 columns text-center">';
echo '<label>';
echo '<input type="text" placeholder="Email" value="" name="email" autocomplete="off">';
echo '</label>';
echo '</div>';
echo '<div class="small-12 columns">';
echo '<div class="input-group-button">';
// show button
echo '<button type="submit" class="button navigate-form expanded">Wachtwoord hestellen</button>';
echo '</div>';
echo '</div>';
$_SESSION["csrf_token"] = hash('sha512',(uniqid(mt_rand(), true)));
$redirect = isset($_GET["r"]) ? htmlspecialchars($_GET["r"], ENT_QUOTES, "UTF-8") : "";
echo '<input type="hidden" value="'. $redirect .'" name="redirect">';
echo '<input type="hidden" value="'. $_SESSION["csrf_token"] .'" name="csrf">';
echo '</form>';
//echo password_hash("admin",PASSWORD_BCRYPT);
?>
</div>
</div>
<img src="/images/poster-bg.jpg">
</div>