Skip to content

replace username with mobile number for Register or Login #519

Answered by datamweb
khan-umer asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

how can we delete username column from users table

You should not do this, it will cause a lot of problems.

add mobile number field for register & login.

If you plan to add a phone column, see #333 and #430

Also note that currently it is not possible to log in with a custom field, if you think this feature should be added to the shield, please contribute to the discussion #334 .

When I am sure that this possibility is needed by many people, I or any person will send PR.

Note:
Another way is to get the user's phone number instead of the username, then register the user and log in by changing the default validations.
I haven't really looked into this, and obviously this method do…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@khan-umer
Comment options

@datamweb
Comment options

@khan-umer
Comment options

Answer selected by khan-umer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants