Revert "Fix: for LDAP auth when user credentials are invalid (#407)"

Does not pass current tests :/

This reverts commit 7e0f460d9e.
This commit is contained in:
Milos Stojanovic
2023-11-30 15:12:05 +01:00
parent f91afceef4
commit 67363ad67f
2 changed files with 3 additions and 3 deletions

View File

@@ -92,7 +92,7 @@ const funcs = {
})
},
is(role) {
return this.$store.state?.user?.role == role
return this.$store.state.user.role == role
},
can(permissions) {
return this.$store.getters.hasPermissions(permissions)