Commit bdcd68fbcebb81fb96c390a351380846f49ebf91

Authored by Amber Dev
1 parent b039d39fb8

change password issue

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
src/pages/Administrator/resetPassword.vue
... ... @@ -124,7 +124,9 @@ export default {
124 124 },
125 125 mounted() {
126 126 this.token = this.$store.state.token;
127   - this.getRole();
  127 + if (this.$store.state.role != "PARENT"){
  128 + this.getRole();
  129 + }
128 130 },
129 131 methods: {
130 132 reset() {
... ...