Explorar o código

added login form in notify

Piotr Labudda %!s(int64=10) %!d(string=hai) anos
pai
achega
40f033c98e
Modificáronse 1 ficheiros con 1 adicións e 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() {
 	public function handleAuth() {
 		if (!User::logged()) {
 		if (!User::logged()) {
-			throw new HttpException('Unauthorized', 401);
+			User::authByRequest();
 		}
 		}
 	}
 	}