Remove Super-Admin role, bugfix if user enters buggy SQL injection on search field

This commit is contained in:
2024-11-27 19:29:03 +01:00
parent ba700eb050
commit fd2a2dd345
5 changed files with 13 additions and 21 deletions

View File

@@ -91,7 +91,7 @@ export const useAccountStore = defineStore("accountStore", {
this.privilegeBuy = true
this.adminPanelVisible = response.data.accountRole.privilegeAdminPanel
if (response.data.accountRoleId == 3) {
if (response.data.accountRoleId == 2) {
exerciseStore.solveExercise(2, 5)
}
})