Jelajahi Sumber

added login form in notify

Piotr Labudda 10 tahun lalu
induk
melakukan
40f033c98e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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();
 		}
 	}