summaryrefslogtreecommitdiff
path: root/www/functions/func_login.php
diff options
context:
space:
mode:
authormoehm2014-03-27 19:21:11 +0100
committermoehm2014-03-27 19:21:11 +0100
commit2310c2e3cb4cf9b724ef065fcb8543a60d0ff280 (patch)
treef0a661de715a080093d021d038d29b8630dc21cd /www/functions/func_login.php
parentcb74ce9e9702677225102fc06b5adda8ce692cdc (diff)
downloadfiles.iamfabulous.de-2310c2e3cb4cf9b724ef065fcb8543a60d0ff280.tar.gz
Merge in comming. Added new function to generate a donwload id.
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;
+}