Merge branch 'develop' into featue/84-ndg-appointment-flow
This commit is contained in:
@@ -32,7 +32,7 @@ export class NetworkService {
|
||||
} else if (status === 403) {
|
||||
storeSet.main.token('');
|
||||
const { pathname } = window.location;
|
||||
if (!['/login', '/loginadmin', '/reset-password'].includes(pathname)) {
|
||||
if (!['/login', '/loginadmin', '/reset-password', '/registration'].includes(pathname)) {
|
||||
window.location.replace('/login');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user