Remove Super-Admin role, bugfix if user enters buggy SQL injection on search field
This commit is contained in:
@@ -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)
|
||||
}
|
||||
})
|
||||
|
||||
@@ -119,7 +119,6 @@ export const useBasketStore = defineStore('basketStore', {
|
||||
for (let item of this.itemsInBasket) {
|
||||
if (!item.concert.offered) {
|
||||
exerciseStore.solveExercise(1, 2)
|
||||
feedbackStore.addSnackbar(BannerStateEnum.EXERCISESOLVED12)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user