select count(*) as aggregate from `corporation_corporationsheet` inner join `account_apikeyinfo_characters` on `account_apikeyinfo_characters`.`characterID` = `character_charactersheet`.`characterID` inner join `account_apikeyinfo` on `account_apikeyinfo`.`keyID` = `account_apikeyinfo_characters`.`keyID` where `account_apikeyinfo_characters`.`keyID` in (3323619, 3318165) and `account_apikeyinfo`.`type` = Corporation
To reproduce, impersonate a normal user of SeAT with no rights.
When a non admin user visits the SeAT homepage, it will cause a error on this line https://github.com/eve-seat/seat/blob/dev/app/controllers/HomeController.php#L71. The SQL translates to:
To reproduce, impersonate a normal user of SeAT with no rights.