Skip to content
Snippets Groups Projects
Commit b7b61a36 authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

feat: log which user has logged in

parent 870f9a87
No related branches found
No related tags found
No related merge requests found
...@@ -169,7 +169,9 @@ export const useAuthStore = defineStore('auth', () => { ...@@ -169,7 +169,9 @@ export const useAuthStore = defineStore('auth', () => {
if (user?.permissions) { if (user?.permissions) {
const permissions = user.permissions.map((p) => `\t${p}`).join('\n') const permissions = user.permissions.map((p) => `\t${p}`).join('\n')
console.debug(`User is logged in. Provided permissions are:\n${permissions}`) console.debug(
`${currentUser.value.name} is logged in. Provided permissions are:\n${permissions}`,
)
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment