What does OJS evaluate to log in?

The theme is as follows: I add a user in the database, with username, password, email etc. But when I try to log in, it does nothing, what does OJS evaluate to be able to do a satisfactory log in?