Skip to content

Commit 41f71ec

Browse files
committed
GSK-1087
1 parent 3e5472a commit 41f71ec

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

frontend/src/router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ async function routeGuard(to, from, next) {
1010
const userStore = useUserStore();
1111
const mainStore = useMainStore();
1212
if (!mainStore.license) {
13-
await exponentialRetry(mainStore.fetchLicense);
13+
await mainStore.fetchLicense();
1414
}
1515
if (!mainStore.license?.active) {
1616
if (to.path !== '/setup') {

frontend/src/stores/user.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ export const useUserStore = defineStore('user', {
8585
}
8686
}
8787
} else {
88-
await mainStore.fetchLicense();
8988
const response = await api.getUserAndAppSettings();
9089
this.isLoggedIn = true;
9190
this.userProfile = response.user;

0 commit comments

Comments
 (0)