mirror of
https://github.com/ZeJMaN/LBCAlerte_ynh.git
synced 2025-12-06 05:51:57 +01: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