In certain situations user protected pages were accessible by
unauthorizated people and were only answered with a small error JSON,
which is not evaluted.
This commit ensures, that error code 401 is send in case of user is not
authorized.
Refers lerntools/base#120
In certain situations user protected pages were accessible by
unauthorizated people and were only answered with a small error JSON,
which is not evaluted.
This commit ensures, that error code 401 is send in case of user is not
authorized.
Refers lerntools/base#120