Skip to content
Snippets Groups Projects
Commit f8f1ff90 authored by Anders Høvik's avatar Anders Høvik
Browse files

refactoring of updateUserLayout

parent 2716cd05
No related branches found
No related tags found
1 merge request!30Feature/update user settings layout
Pipeline #276383 failed
...@@ -57,9 +57,6 @@ const handleConfirmPasswordInputEvent = (newValue: any) => { ...@@ -57,9 +57,6 @@ const handleConfirmPasswordInputEvent = (newValue: any) => {
} }
const handleSubmit = async () => { const handleSubmit = async () => {
console.log(firstNameRef.value)
let isValid
samePasswords.value = (passwordRef.value === confirmPasswordRef.value) samePasswords.value = (passwordRef.value === confirmPasswordRef.value)
console.log(samePasswords.value) console.log(samePasswords.value)
...@@ -76,7 +73,7 @@ const handleSubmit = async () => { ...@@ -76,7 +73,7 @@ const handleSubmit = async () => {
// Check if the form is valid
if (form.checkValidity()) { if (form.checkValidity()) {
if(samePasswords.value){ if(samePasswords.value){
try { try {
......
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