mvc-base/Views/user/change.php

15 lines
409 B
PHP
Raw Normal View History

2024-09-09 20:07:44 +02:00
<?php
if($_SESSION['login']){
if(!isset($_POST['old'])){
?>
<form action="/user/change" method="POST">
<p>neues Passwort: <input type="password" name="new" id="new"></p>
<p>noch mal: <input type="password" name="new2" id="new2"></p>
<p>altes Passwort: <input type="password" name="old" id="old"></p>
<p> <input type="submit" name="ok" value="Speichern"></p>
</form>
<?php
}else{
}
}