Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8693681
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:36:02+00:00 2026-06-13T00:36:02+00:00

I have just started using ionauth , and I am trying to implement the

  • 0

I have just started using ionauth, and I am trying to implement the maximum login attempts feature.

Problem is, I can’t seem to find any documentation regarding this function on the documentation.

I figured out the function to call to check if maximum login attempts exceeded was this

$this->ion_auth->is_max_login_attempts_exceeded()

I’d like to know what protection to do if login attempts are exceeded?

<ul>
 <li>block the user for a specific time?</li>
 <li>enforce a captcha?</li>
 <li>both?</li>
</ul>

And if he enter a correct captcha (assuming I enforce captcha) or if the time runs out (assuming I stop login attempts for a specific time), how do I allow login’s again?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T00:36:03+00:00Added an answer on June 13, 2026 at 12:36 am

    It depends entirely on the design of your project, if it’s some store or paid services provider, than you can think of implementing this and disallowing user to login for a minute or two, if it’s your personal blog, I would suggest you not to implement this at all.

    To force clear the attempts, if you need to, you can call

    $this->ion_auth->clear_login_attempts($identity);
    

    and to block user from trying to log in, you can make an if statement

    if(!is_max_login_attempts_exceeded($identity)) {
        // try to login
    }
    

    If you want to implement a captcha, you can change the if statement above to check if the captcha input was correct and use the code block above to make a decision whether to show captcha in your login form.

    In any case, don’t bother implementing this if you’ve never got brute forced before and if the information/actions that can be gathered/run by the hacker are not dangerous enough as it will simply annoy those, who simply forgot their password and try every password they have ever used before.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just started using SlickGrid and was hoping someone can help me solve
I have just started using antlr3 and am trying to serialize the AST output
I have just started using EF Code First to implement a simple blog. I
I have just started using Sharepoint Foundation 2010 and I'm trying to write a
I have just started using silverlight 2 beta and cannot find how to or
I have just started using NSIS . It works very well but I find
I have just started using Ember.js framework and I have simple problem. I have
I have just started using MEF and have hit on an early problem. I
we have just started using a git account of our Django website project so
I have just started using RSpec and I copied the very simple test on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.