new package dbHandler accesscontrol memeberdb and login with rights
All checks were successful
Build Quasar SPA and Go Backend for memberApp / build-spa (push) Successful in 2m20s
Build Quasar SPA and Go Backend for memberApp / build-backend (amd64, .exe, windows) (push) Successful in 5m27s
Build Quasar SPA and Go Backend for memberApp / build-backend (amd64, , linux) (push) Successful in 5m32s
Build Quasar SPA and Go Backend for memberApp / build-backend (arm, 6, , linux) (push) Successful in 5m28s
Build Quasar SPA and Go Backend for memberApp / build-backend (arm64, , linux) (push) Successful in 5m29s

This commit is contained in:
Adrian Zürcher
2025-10-31 14:54:05 +01:00
parent b0d6bb5512
commit cc3a547961
60 changed files with 1062 additions and 1162 deletions

View File

@@ -14,7 +14,9 @@ export default boot(async ({ app }) => {
await appApi
.get('/login/me')
.then((resp) => {
useStore.setUser({ id: resp.data.id, username: resp.data.username, role: resp.data.role });
useStore
.setUser({ id: resp.data.id, username: resp.data.username, role: resp.data.role })
.catch((err) => console.log(err));
login.refresh().catch((err) => console.error(err));
})
.catch(() => {