Merge pull request #1083 from mark-monteiro/handle-auth-response-codes-correctly

Handle 401 & 403 Server Responses Correctly
This commit is contained in:
dkanada
2020-04-23 14:10:35 +09:00
committed by GitHub
3 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ define(['loading', 'globalize', 'events', 'viewManager', 'layoutManager', 'skinM
var apiClient = this;
if (data.status === 401) {
if (data.status === 403) {
if (data.errorCode === "ParentalControl") {
var isCurrentAllowed = currentRouteInfo ? (currentRouteInfo.route.anonymous || currentRouteInfo.route.startup) : true;