Existing yii2 project returns only login page after setup

Hi everyone, I am new to yii2 and I was handed source code of a yii project. I installed it (after some days of struggling) then when I try to access the index page it opens the login page then when I enter login credentials it return the login page again. I don’t really know how to go about it. Thanks for your help.

You have to run it through https. Enable and configure SSL for that project and you should be fine.

Thanks for your response. I figured it out already. I was a problem of authentication. I went in the database a modified the user password and it’s fine now.

Glad to hear you fixed it. I was also trying to configure/version an existing Yii2 project, and I was having troubles with config files and initialization in general.