瀏覽代碼

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();
 		}
 	}