Jimmy Monin 57708e3169 Initial commit
Functional, without SSO
2016-09-18 11:03:26 +02:00

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;
}