Ensure users can only login from the right site

This commit is contained in:
Deon George
2021-12-17 15:58:24 +11:00
parent 99a62828f5
commit 05c5d35dbf
6 changed files with 112 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ class SetSite
}
// Set who we are in SETUP.
Config::set('SITE',$so);
Config::set('site',$so);
if (! $request->ajax())
View::share('site',$so);