Problem/Motivation

Allow username to be encrypted before submitting login form so that secure user login request can be submitted to the server.

Steps to reproduce

Enable module and go to user login page. You will be able to see that password is getting encrypted but username is passing as plain text.

Proposed resolution

Take reference from password field encryption method and apply same to the username field with some tweaks.

CommentFileSizeAuthor
#3 3328821-3.patch2.75 KBchandreshgiri gauswami

Comments

chandreshgiri gauswami’s picture

Status: Active » Needs work
chandreshgiri gauswami’s picture

Assigned: chandreshgiri gauswami » Unassigned
Status: Needs work » Needs review
StatusFileSize
new2.75 KB

Attaching the patch to achieve the username encryption goal.

gaurav-mathur’s picture

Assigned: Unassigned » gaurav-mathur
gaurav-mathur’s picture

Assigned: gaurav-mathur » Unassigned

Patch #3 not working in drupal 9.4.8.
Result:-Showing error-"username must be required"
Thank you.