Change rendering of user's home, taking into account systems that have been marked inactive
This commit is contained in:
@@ -81,6 +81,7 @@ class User extends Authenticatable implements MustVerifyEmail
|
||||
->join('systems',['systems.id'=>'addresses.system_id'])
|
||||
->join('system_user',['system_user.system_id'=>'systems.id'])
|
||||
->where('system_user.user_id',$this->id)
|
||||
->where('systems.active',TRUE)
|
||||
->ActiveFTN()
|
||||
->FTN()
|
||||
->get();
|
||||
|
Reference in New Issue
Block a user