Enhance tutorial management with user-specific features and improve error handling
This commit is contained in:
@@ -28,11 +28,7 @@ export class AuthInterceptor implements HttpInterceptor {
|
||||
if (
|
||||
error instanceof HttpErrorResponse &&
|
||||
!req.url.includes('auth/signin') &&
|
||||
(error.status === 401
|
||||
|| error.status === 500
|
||||
|| error.status === 0
|
||||
|
||||
) /// must be only 401 without 500 and 0
|
||||
(error.status === 401) /// must be only 401 without 500 and 0
|
||||
) {
|
||||
return this.handle401Error(req, next);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user