From 2310c2e3cb4cf9b724ef065fcb8543a60d0ff280 Mon Sep 17 00:00:00 2001 From: moehm Date: Thu, 27 Mar 2014 19:21:11 +0100 Subject: Merge in comming. Added new function to generate a donwload id. --- www/functions/func_login.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'www/functions/func_login.php') 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; +} -- cgit v1.2.3