Announcement

Collapse
No announcement yet.

How do you reset a User who is Locked Out?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do you reset a User who is Locked Out?

    I'm sure I'm not the only one who would like to know this:

    If a user uses up their 5 login attempts, and gets locked out for the next 15 minutes - how can I reset that user so that they can try again immediately?

  • #2
    Run this query:

    Code:
    DELETE FROM strikes WHERE username = '$username'
    Replace $username w/their username

    Comment


    • #3
      Thanks, Gary! That should do the job nicely.

      Comment


      • #4
        Yep let me know if it doesn't

        Comment


        • #5
          Hum, actually I was looking for this but I get this error,

          DELETE FROM strikes WHERE username = \'$Sebastian\'



          MySQL said:
          You have an error in your SQL syntax near '\'$Sebastian\'' at line 2
          Sebastián J. Bianchi

          Comment


          • #6
            No slashes.

            Comment


            • #7
              How can I clear all username ??

              Comment


              • #8
                DELETE FROM strikes;

                Comment

                widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                Working...
                X