A
A
artem2022-03-23 23:22:10
User identification
artem, 2022-03-23 23:22:10

The user registers someone else's mail, how to respond?

How registration works for me:
The user registers (mail, password, password repeat),
then a verification letter arrives, you need to confirm, after which you can log into your account.

When a user, when registering, does not specify his mail, registers another person who will encounter an error during registration "This email address is already in use by another user", but he will receive a verification letter in the mail, if he confirms, he will be able to log in, but how to convey it And is it correct to use this approach?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
FanatPHP, 2022-03-24
@FanatPHP

You don't have to bring anything anywhere. In this case, he will use the "reset password" link.

S
snxx, 2022-03-24
@lppxx

Confirmation is required when switching to a verification email:

  1. e-mail or username;
  2. the password that was created during registration.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question