From 7022cffd11d73acd0f3cf8486012d749bd251dad Mon Sep 17 00:00:00 2001
From: Tor-Einar Skog <tor-einar.skog@nibio.no>
Date: Wed, 3 May 2023 11:04:33 +0200
Subject: [PATCH] Hide forgotten password message after use

---
 src/components/LoginSystem.vue | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/components/LoginSystem.vue b/src/components/LoginSystem.vue
index 61f6068..1149de2 100644
--- a/src/components/LoginSystem.vue
+++ b/src/components/LoginSystem.vue
@@ -170,6 +170,7 @@
 			},
 			/** Login process . sending user credential */
 			handleLogin() {
+				this.showForgottenPasswordSubmitSuccessMsg = false;
 				let This = this;
 
 				this.$root.sharedState.uuid = '';
@@ -263,6 +264,7 @@
 				}
 			},
 			handleLogout() {
+				this.showForgottenPasswordSubmitSuccessMsg = false;
 				this.$root.sharedState.uuid = '';                           // remove global uuid for other (e.g. menu items etc)
 				/** Remove stored data from app in local system - server data still preserve */
 				this.removeStoredData();
-- 
GitLab