A
A
Abram Peters2020-01-15 18:39:17
Yii
Abram Peters, 2020-01-15 18:39:17

I register an admin user with a password of 123456, I try to log in, I get an Incorrect username or password, what should I do?

installed Yii2 advanced did the migration, everything is as it should be, I register the data is entered into the database, but with status 9, when I log in again, it says that the password or login is not correct if you change the status to 10 in the database itself, then everything is fine if this is a repetition, you can give a link where it is described

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Gip, 2020-01-15
@nigma1996

9 - inactive user. 10 - active. what's the question?
if you are confused by the fact that the status is set to 9 by default, then this is easy to change.
by default, activation (setting 10) works through a link that comes to email. and since you are unlikely to send email messages - you do not receive a link anywhere.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question