Comments (12)
it is not possible to ban after login failed but you can limit the login attempts in one minute.
from /config/Aauth.php file you can change the lines 54-59
// it limits login attempts
'dos_protection' => true,
// login attempts time interval
// default 10 times in one minute
'try' => 10,
from codeigniter-aauth.
if you want this feture i can maybe add it to version 2
from codeigniter-aauth.
It would be very good , if u can add this feture
from codeigniter-aauth.
If i limit login, what will it show?? also please tell me , for how much time it will limit the user to be logged in ?
from codeigniter-aauth.
it is up to you.
limit time algorihm works by this formula.
30 sec * try
from codeigniter-aauth.
ok. i will add ban feature soon.
from codeigniter-aauth.
But its still showing error. login attempt is not working will, also i have tried with $this->aauth->_reset_login_attempts(1);
but no help. :(
from codeigniter-aauth.
get_login_attempts is missing. not working
Also in line number 527 $data['last_login_attempts'] = null; need to be $data['last_login_attempt'] = null;
from codeigniter-aauth.
A PHP Error was encountered
Severity: Notice
Message: Undefined property: Aauth::$create_user
Filename: controllers/login.php
Line Number: 49
Fatal error: Call to a member function get_errors() on a non-object in C:\EasyPHP-DevServe\data\localweb\service\application\controllers\login.php on line 49
from codeigniter-aauth.
Need ur help pleaseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
from codeigniter-aauth.
Bro. I'm now out of my home. I will try to find a solution when I get back to home.
from codeigniter-aauth.
I'll try and have a look if I get time too.
But I would suggest that instead of 30 sec * try
it should be 30 sec ** try
.
e.g to the power of instead of times. That way the more times you try the longer and longer it takes. That's the best way to defeat a brute force attack. Perhaps not straight away though so maybe it would be better to be 30 sec ** (try - 5)
but if try - 5 is less then 1 then just count it as 1.
So for example:
1 try = 30 seconds
2 tries = 30 seconds
3 tries = 30 seconds
4 tries = 30 seconds
5 tries = 30 seconds
6 tries = 15 minutes
7 tries = 7.5 hours
8 tries = 9.375 days
from codeigniter-aauth.
Related Issues (20)
- Portuguese Translation HOT 2
- Add checked permissions to group
- Create Another Function Like is_admin HOT 11
- Password creation rules HOT 2
- Configure email verification template HOT 1
- Permissions not working when I assign a role
- Conflicts while using CI migrations HOT 1
- How attemp remove when successfully login or manual call function HOT 2
- Can i create some more columns in Aauth users table ? HOT 3
- Why ban_user when reloggin make error HOT 2
- Where we have a function to be checking is_blocked ip address ?
- Upgrade it to Codeigniter 4 HOT 2
- Create group return 0 when success HOT 5
- valid_email() deprecated
- Are you still maintaining HOT 5
- User Email and Password
- CodeIgniter-Aauth v3 Getting Login Error HOT 3
- Sql file for CodeIgniter 4-Aauth v3 HOT 4
- Support
- Create account with set_user_var not saving
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeigniter-aauth.