Minor - Redirect lost password to home

pull/3890/head
Julio Montoya 4 years ago
parent 58dcd31bb8
commit 78e6f5aa65
  1. 5
      public/main/auth/lostPassword.php

@ -25,6 +25,11 @@ if ('false' === api_get_setting('allow_lostpassword')) {
api_not_allowed(true);
}
if (!api_is_anonymous()) {
header('Location: '.api_get_path(WEB_PATH));
exit;
}
$reset = $_REQUEST['reset'] ?? '';
$userId = $_REQUEST['id'] ?? '';

Loading…
Cancel
Save