summaryrefslogtreecommitdiff
path: root/www/functions/func_login.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/functions/func_login.php')
-rwxr-xr-xwww/functions/func_login.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/functions/func_login.php b/www/functions/func_login.php
index 9deb27b..e5b7aab 100755
--- a/www/functions/func_login.php
+++ b/www/functions/func_login.php
@@ -50,3 +50,7 @@ function logout(){
return LOGOUT_FAILURE;
}
}
+
+function brutforce_protection(){
+ $_SESSION["login_attempts"] = $_SESSION["login_attempts"] + 1;
+}