diff --git a/interface/web/login/index.php b/interface/web/login/index.php
index 4844d30ebad946d2c1b18b85a006f55a9daced11..2eef38ebc14625fe1b98a10ae26bd3b42197ec69 100644
--- a/interface/web/login/index.php
+++ b/interface/web/login/index.php
@@ -80,6 +80,7 @@ function process_login_request(app $app, &$error, $conf, $module)
 		//* Username or password empty
 		if ($error == '') $error = $app->lng('error_user_password_empty');
 		$app->plugin->raiseEvent('login_empty', $username);
+		return;
 	} else {
 		/*
 		 *  Check, if there is a "login as" instead of a "normal" login