* adjust code.

This commit is contained in:
wangyidong
2022-04-26 14:36:44 +08:00
parent d8939cd2de
commit 23726bdb49
+4 -4
View File
@@ -2297,10 +2297,10 @@ EOD;
$module == 'tutorial' ||
$module == 'install' ||
$module == 'upgrade' ||
($module == 'user' && ($method == 'login' || $method == 'deny' || $method == 'logout')) ||
($module == 'my' && ($method == 'changepassword' || $method == 'preference')) ||
($module == 'file' && ($method == 'read' || $method == 'download' || $method == 'uploadimages')) ||
($module == 'sso' && $method == 'login'))
($module == 'user' && strpos('|login|deny|logout|', "|{$method}|") !== false) ||
($module == 'my' && strpos('|changepassword|preference|', "|{$method}|") !== false) ||
($module == 'file' && strpos('|read|download|uploadimages|ajaxwopifiles|', "|{$method}|") !== false) ||
($module == 'sso' && $method == 'login'))
{
return;
}