How to change the wordpress authentication fields?

Asked

Viewed 64 times

0

It was wanting in any theme, to change for the user to log in as if the password were from another field of the same table. Only that I do not know the wordpress login process

  • What a field, for example?

  • For example, the normal login process the system checks the password of the "user_pass" field, right? I wanted to make the system check a field I created, "user_cpf". Pro cara log in using the login name only that the password would be his own Cpf.

  • You can try using the plugin: https://wordpress.org/plugins/cimy-user-extra-fields/

  • Anything I can post a code, but I need to know if this field was created in the table or you used the function add_user_meta etc. You also need to be aware that you have to check if the CPF already exists; etc. Or you can update the translation from "Username" to "CPF"

  • Valdeir Psr > Cara if you can help me with this I would be grateful ;) At first I created the direct field in the table, now a little while ago I knew about the user goal. However I qria a simple practical example making this check if the guy uses the password or Cpf

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.