aboutsummaryrefslogtreecommitdiffstats
path: root/password.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--password.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/password.php b/password.php
index 9d3833447..ebc6b0804 100644
--- a/password.php
+++ b/password.php
@@ -34,6 +34,11 @@ include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );
include_once(PHPWG_ROOT_PATH.'include/functions_mail.inc.php');
// +-----------------------------------------------------------------------+
+// | Check Access and exit when user status is not ok |
+// +-----------------------------------------------------------------------+
+check_status(ACCESS_NONE);
+
+// +-----------------------------------------------------------------------+
// | send a new password |
// +-----------------------------------------------------------------------+