I need to add security questions while user creating his account in Drupal 8. I need to use those security questions to retrieve his password, when user forgets his password.

Any suggestions ?


Well at this time you have 2 modules but only for Drupal 7:

Security Questions

Security Questions provides administrator configurable challenge questions for use during the log in and password reset processes. Think of it like most bank website logins.

Password reset

The password_reset module allows for passwords to be reset without involving e-mail addresses through the use of security questions.

There is not a 8.x branch at this time, so your best option is study the code and migrate one of them.

  • Thanks. But i need for Drupal 8. Is there any alternate method anyone can suggest for the same functionality. – Teja58 Jul 19 '17 at 11:17
  • @Teja58 at this time you need to write your own module – Adrian Cid Almaguer Jul 19 '17 at 12:31
  • Just port them? – Kevin Jul 20 '17 at 11:23
  • @kevin yes this can be a way. – Adrian Cid Almaguer Jul 20 '17 at 11:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.