Skip to content
Snippets Groups Projects
Commit 2f1fbeef authored by Sander August Heggland Schrader's avatar Sander August Heggland Schrader
Browse files

Merge

parent 87855d26
No related branches found
No related tags found
1 merge request!40Chat
...@@ -107,26 +107,13 @@ export default { ...@@ -107,26 +107,13 @@ export default {
rePassword: "", rePassword: "",
}, },
<<<<<<< HEAD
valid: true,
rules: {
required: (value) => !!value || "Feltet er påkrevd",
min: (v) => v.length >= 8 || "Minimum 8 tegn",
passwordConfirmation: (v) =>
v === this.user.password || "Passordene må være like",
},
=======
showError: false, showError: false,
>>>>>>> main
}; };
}, },
computed: mapState({ computed: mapState({
token: (state) => state.user.token, token: (state) => state.user.token,
}), }),
methods: { methods: {
<<<<<<< HEAD
async setNewPassword() {},
=======
async setNewPassword() { async setNewPassword() {
this.showError = true; this.showError = true;
...@@ -153,7 +140,6 @@ export default { ...@@ -153,7 +140,6 @@ export default {
console.log("Something went wrong"); console.log("Something went wrong");
} }
}, },
>>>>>>> main
validate() { validate() {
this.$refs.form.validate(); this.$refs.form.validate();
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment