Skip to content

Commit

Permalink
feat: use middleware to redirect on unathorised
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Feb 22, 2021
1 parent 541caca commit 0fdf4a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/premium/booru.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ import { mapGetters, mapActions } from 'vuex'
import { booruTypeList } from '~/assets/lib/rule-34-shared-resources/dist/util/BooruUtils.js'
export default {
middleware: 'auth',
data() {
return {
booruTypeList,
Expand Down
2 changes: 2 additions & 0 deletions pages/premium/tags.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@
import { mapGetters, mapActions } from 'vuex'
export default {
middleware: 'auth',
data() {
return {
formTagCollection: {
Expand Down

0 comments on commit 0fdf4a6

Please sign in to comment.