Explorar el Código

added login form in notify

Piotr Labudda hace 10 años
padre
commit
40f033c98e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      SE/se-lib/Route/Notify.php

+ 1 - 1
SE/se-lib/Route/Notify.php

@@ -26,7 +26,7 @@ class Route_Notify extends RouteBase {
 
 	public function handleAuth() {
 		if (!User::logged()) {
-			throw new HttpException('Unauthorized', 401);
+			User::authByRequest();
 		}
 	}