瀏覽代碼

Fix login page when user does not exist (#4621)

Alexis Degrugillier 3 年之前
父節點
當前提交
7de5b93da4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Controllers/authController.php

+ 1 - 1
app/Controllers/authController.php

@@ -72,7 +72,7 @@ class FreshRSS_auth_Controller extends FreshRSS_ActionController {
 		}
 		}
 
 
 		$auth_type = FreshRSS_Context::$system_conf->auth_type;
 		$auth_type = FreshRSS_Context::$system_conf->auth_type;
-		FreshRSS_Context::initUser('_');
+		FreshRSS_Context::initUser('_', false);
 		switch ($auth_type) {
 		switch ($auth_type) {
 			case 'form':
 			case 'form':
 				Minz_Request::forward(array('c' => 'auth', 'a' => 'formLogin'));
 				Minz_Request::forward(array('c' => 'auth', 'a' => 'formLogin'));