Answer the question
In order to leave comments, you need to log in
How to set up yii2 user login on hosting?
Developed a yii application using the advanced template.
The application has a system of registration and login.
Everything worked on the local server, as uploaded to the hosting - only registration remained to work.
The debugger in the browser shows http302.
In the logs, it swears at the debugger:
2020-06-17 12:06:13 [178.172.177.132][-][-][warning][yii\debug\Module::checkAccess] Access to debugger is denied due to IP address restriction. The requesting IP address is 178.172.177.132
Cache-Control: no-store, no-cache, must-revalidate
Connection: Keep-Alive
Content-Length: 0
Content-Type: text/html; charset=UTF-8
Date: Wed, 17 Jun 2020 09:06:12 GMT
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Keep-Alive: timeout=3, max=100
Location: https://bookmark.red/frontend/web/
Pragma: no-cache
Server: Apache
Set-Cookie: bookMarkerSession=d15d96a973fe46d01a87f4550698c700; path=/; domain=bookmark.red; HttpOnly
Set-Cookie: _identity-bookmarker=19d76a404fd84b2fec0f028b927c5cf345fd43352e1e312c0115163e9b25b039a%3A2%3A%7Bi%3A0%3Bs%3A20%3A%22_identity-bookmarker%22%3Bi%3A1%3Bs%3A47%3A%22%5B%5B%5D%2C%22bWnO_1u0wMEKJr2hbCQ6BJRqbK-zqlQz%22%2C2592000%5D%22%3B%7D; expires=Fri, 17-Jul-2020 09:06:12 GMT; Max-Age=2592000; path=/; domain=bookmark.red; HttpOnly
Set-Cookie: _csrf-frontend=a3fd73b9ff4a64bff609cd25af1596f11ce4ae578d970b2ee047a70adc707cf5a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22ZoKitXT5oP__TFj6BPtWG6GztG3_-KBF%22%3B%7D; path=/; HttpOnly
Vary: User-Agent
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question