mirror of
https://github.com/ZeJMaN/LBCAlerte_ynh.git
synced 2025-06-07 13:05:30 +02:00
8 lines
227 B
PHP
8 lines
227 B
PHP
<?php
|
|
|
|
if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
|
// place le marqueur de réinitialisation
|
|
file_put_contents(DOCUMENT_ROOT."/var/tmp/reset_".$userAuthed->getId(), time());
|
|
|
|
header("LOCATION: ./?mod=mail"); exit;
|
|
} |