A
A
Anholle2019-05-24 09:45:21
1C-Bitrix
Anholle, 2019-05-24 09:45:21

Why does an unauthorized user not have a 404 error?

Good afternoon. I'm just getting started with php.
There was a problem in Bitrix. The site has registration, authorization, etc. I noticed recently that authorized users have a 404 error when they enter the wrong address. And unauthorized redirects to authorization. Although the authorization page itself looks different.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Nikolaev, 2019-05-24
@gromdron

Why doesn't an authorized user get a 404 error?

Most likely, because you opened the section only for authorized users. In Bitrix, first the access rights to the page are checked, and then the actions on the page.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question