From c0a175d2150be10730daca0a8be822a75d761c5c Mon Sep 17 00:00:00 2001
From: Agate <me@agate.blue>
Date: Wed, 19 Aug 2020 10:17:03 +0200
Subject: [PATCH] Fixed broken enter submit on login form

---
 front/src/components/forms/PasswordInput.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/front/src/components/forms/PasswordInput.vue b/front/src/components/forms/PasswordInput.vue
index 5cac90f211..99661971cd 100644
--- a/front/src/components/forms/PasswordInput.vue
+++ b/front/src/components/forms/PasswordInput.vue
@@ -7,10 +7,10 @@
     @input="$emit('input', $event.target.value)"
     :id="fieldId"
     :value="value">
-    <button @click.prevent="showPassword = !showPassword" :title="labels.title" class="ui icon button">
+    <button @click.prevent="showPassword = !showPassword" type="button" :title="labels.title" class="ui icon button">
       <i class="eye icon"></i>
     </button>
-    <button v-if="copyButton" @click.prevent="copy" class="ui icon button" :title="labels.copy">
+    <button v-if="copyButton" @click.prevent="copy" type="button" class="ui icon button" :title="labels.copy">
       <i class="copy icon"></i>
     </button>
   </div>
-- 
GitLab