Allow guests to register mobile devices

This commit is contained in:
Kijin Sung 2020-08-06 14:44:45 +09:00
parent 818897fed4
commit d3fab50e66
5 changed files with 64 additions and 24 deletions

View file

@ -581,6 +581,7 @@ class adminAdminController extends admin
// Validate the selected Push drivers.
$push_config = array('types' => array());
$push_config['allow_guest_device'] = $vars->allow_guest_device === 'Y' ? true : false;
$push_drivers = Rhymix\Framework\Push::getSupportedDrivers();
$push_driver_list = $vars->push_driver ?: [];
foreach ($push_driver_list as $driver_name)