Jump to content

Prevent Multiple Login Attempts on client sign-in forms


sonuyos

Recommended Posts

  • WHMCS Staff

Hi @sonuyos,

I believe you would be able to achieve using the ClientLogin and ClientLoginShare hook points. If you take a look at ClientLoginShare, it will send the data back on a failed login attempt. The example shows how it could be used to automatically register an account for this non-existent user however, you could also use this to log information about a login request.

EDIT: I forgot the link for you! See here: https://developers.whmcs.com/hooks-reference/authentication/#clientlogin

I hope this helps.

Best Regards,

Peter
Technical Analyst

Edited by WHMCS Peter
Forgotten link to hook points referenced in post.
Link to comment
Share on other sites

7 minutes ago, WHMCS Peter said:

Hi @sonuyos,

I believe you would be able to achieve using the ClientLogin and ClientLoginShare hook points. If you take a look at ClientLoginShare, it will send the data back on a failed login attempt. The example shows how it could be used to automatically register an account for this non-existent user however, you could also use this to log information about a login request.

EDIT: I forgot the link for you! See here: https://developers.whmcs.com/hooks-reference/authentication/#clientlogin

I hope this helps.

Best Regards,

Peter
Technical Analyst

 

@WHMCS Peter thanks for this, however i was thinking about having a constant recaptcha, so whenever a client login, the captcha will be there and wont proceed without confirmation.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated