Преглед изворни кода

added login form in notify

Piotr Labudda пре 10 година
родитељ
комит
40f033c98e
1 измењених фајлова са 1 додато и 1 уклоњено
  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();
 		}
 	}