From 61f2e12ffe745885a67f85842a4e7f9a848aafb2 Mon Sep 17 00:00:00 2001
From: Lukas Kimpel <lukas.kimpel@mni.thm.de>
Date: Wed, 7 Mar 2018 09:29:36 +0100
Subject: [PATCH] Add notification for not-executed login attempt (due to empty
 fields)

---
 src/app/login/login.component.ts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/app/login/login.component.ts b/src/app/login/login.component.ts
index f2f44d6cf..145d3f5c1 100644
--- a/src/app/login/login.component.ts
+++ b/src/app/login/login.component.ts
@@ -45,6 +45,8 @@ export class LoginComponent implements OnInit {
           this.notificationService.show('Login failed!');
         }
       });
+    } else {
+      this.notificationService.show('Login failed!');
     }
   }
 
-- 
GitLab