Alternc  latest
Alternc logiel libre pour l'hébergement
reset.php
Go to the documentation of this file.
1 <?php
2 
3 require_once("../class/config_nochk.php");
4 
5 if (isset($_GET['uid']) && isset($_GET['token']) && isset($_GET['timestamp'])) {
6  // We may have received a one-time use link.
7  $logged_in = $mem->temporary_login($_GET['uid'], $_GET['timestamp'],
8  $_GET['token']);
9  if ($logged_in) {
10  $msg->raise('INFO', 'admin/reset', _('Please change your password'));
11  header("Location: /mem_param.php");
12  exit;
13  }
14 }
15 header("Location: /index.php");