Jump to content

Security questions on password reset.


Chris74

Recommended Posts

I would like to disable the need to answer the security question when resetting a password. Unfortunately this is never going to work properly unless the answer is a single, lower case word. In nearly all cases, the customer cannot remember exactly what they typed in and in what case. It's not meant to be a password, but WHMCS have implemented it exactly as if it were!

 

The secret question option is very good for manual / verbal verification - we can ask the customer over the phone, or on live chat for the answer to their question in order to verify their details - so I'd like to keep this running, but it's completely useless when used with the password reset option.

 

Asking someone to remember an exact sentence as if it were a password and to type that in exactly how it was originally typed, in the exact case? Completely stupid! Punctuation, capitalisation, extra spaces, different words used, plural or singular - all things that can be very easily forgotten, missed etc. To be brutally honest, this is so badly thought out it's an embarrassment for WHMCS. It should either be restricted to a single word, lower case answer - or disabled completely!

 

Do you know if it is possible to disable the security question, just for the password reset? is it a case of simply editing the template? If not, I guess it would be easy enough to simply disable the security question option completely and then add a custom field for this instead.

 

I've looked around but I can't find any instructions for cleaning this out completely - i.e disable the security questions and purge the questions and associated client answers from the database. Does anyone know the database fields names without me having to go digging?

 

Thanks in advance.

Link to comment
Share on other sites

Hi Chris,

 

Do you know if it is possible to disable the security question, just for the password reset? is it a case of simply editing the template? If not, I guess it would be easy enough to simply disable the security question option completely and then add a custom field for this instead.

I think the simpler solution would be to add a client custom field - that should also give you more flexibility with regards to using regular expressions to ensure the answer is in a format you want.

 

its probable that even if you could tweak the template to not ask the security question, it will be required somewhere by one of the encoded files and it's absence will prevent the reset from working. :roll:

 

I've looked around but I can't find any instructions for cleaning this out completely - i.e disable the security questions and purge the questions and associated client answers from the database. Does anyone know the database fields names without me having to go digging?

answers are stored in tblclients - "securityqid" and "securityqans"

 

I think for your purpose, the important one is "securityqid" as this stores the value of which question to ask - it is set to 0 for "None", 1 for the first option in the security question dropdown, 2 for the second etc...

 

if its value is zero, then the security question is not asked - so I would assume you could just use an SQL update command to reset the value... something possibly along the lines of the following, but double-check before using! :twisted:

 

UPDATE tblclients SET securityqid = 0

resetting securityqid wouldn't remove the answers... perhaps you might want to keep the answers until you have the custom field setup and populated... these values are encrypted in the database, but you should still be able to view them in the client's profile.

 

security questions are at - setup -> other -> security questions

 

I haven't tried this, but its possible that just removing the questions might be enough - it'll either work or WHMCS will attempt to ask a question that no longer exists... neither would surprise me! :)

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.

×
×
  • 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