File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ public function actionLeave()
9898
9999 private function _checkAllowedToUse (User $ account ): bool
100100 {
101- if (array_find_key (self ::$ DISALLOWED_FUNC_ACC , fn (string $ accName ) => $ accName === $ account ->username ) ||
101+ if (array_find (self ::$ DISALLOWED_FUNC_ACC , fn (string $ accName ) => $ accName === $ account ->username ) !== null ||
102102 (!\XF ::visitor ()->is_moderator && !\XF ::visitor ()->is_admin && !\XF ::visitor ()->is_super_admin )
103103 ) {
104104 return false ;
Original file line number Diff line number Diff line change 22 "legacy_addon_id" : " " ,
33 "title" : " VATSIM Germany" ,
44 "description" : " The VATSIM Germany plugin integrates with VATGER's OAuth2 implementation to allow SSO login in Xenforo." ,
5- "version_id" : 131 ,
6- "version_string" : " 1.3.1 " ,
5+ "version_id" : 132 ,
6+ "version_string" : " 1.3.2 " ,
77 "dev" : " VATSIM Germany" ,
88 "dev_url" : " https://vatsim-germany.org" ,
99 "faq_url" : " " ,
You can’t perform that action at this time.
0 commit comments