diff --git a/interface/web/login/index.php b/interface/web/login/index.php
index 22a1eac8a1202fd951aaa4a61f87c76ea5411d6f..be91708f52f87e3cbf36140a6ec49890f324a635 100644
--- a/interface/web/login/index.php
+++ b/interface/web/login/index.php
@@ -176,11 +176,15 @@ class login_index {
 		            	//* Incorrect login - Username and password incorrect
 		                $error = $app->lng('error_user_password_incorrect');
 		                if($app->db->errorMessage != '') $error .= '<br />'.$app->db->errorMessage != '';
+						
+						$app->plugin->raiseEvent('login_failed',$this);	
 		           	}
 	        	}
 	      	} else {
 	       		//* Username or password empty
 	            if($error == '') $error = $app->lng('error_user_password_empty');
+				
+				$app->plugin->raiseEvent('login_empty',$this);
 	        }
 		}
 		if($error != ''){