mirror of
https://github.com/ZeJMaN/LBCAlerte_ynh.git
synced 2025-07-19 09:50:49 +02:00
Initial commit
Functional, without SSO
This commit is contained in:
8
sources/app/mail/scripts/reset.php
Normal file
8
sources/app/mail/scripts/reset.php
Normal file
@ -0,0 +1,8 @@
|
||||
<?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;
|
||||
}
|
Reference in New Issue
Block a user