API SETTINGS FOR CONNECTING TO UNIFI CONTROLLER

Hello, in our office it was time to switch to the new version of Unifi controller (from 4 to 5), and before moving on, we decided to experiment, everything was fine, except that the controller did not connect to our authorization portal (the portal is made on YII ) to verify the user! The portal used to be occupied by other people, now I’m doing it, it seems to me that the problem in setting up an API to connect to the unifi controller (below, login, password and url: port changed as part of security))), I ask your help)

/**
* API SETTINGS FOR CONNECTING TO UNIFI CONTROLLER
/
‘UniFi’=>array(
// * Administrator login to connect to the UniFi controller
‘login’=>‘login7’,
// * Administrator password to connect to UniFi controller
‘password’=>‘login7’,
// * Url:port for connecting to the UniFi controller
‘url’=>‘https://unifi:8443’,
// * «Site» UniFi controller profile name
// (!) In lower case! If the profile name is “Default”, then indicate as “default”
‘site’=>‘default’,
// * version UniFi controller
‘version’=>‘5.10.19’,
// * Time in minutes limiting the device session lifetime(mac)/guest user: [60
24] 24 hours,
// * [60245] 5 days (recommended time is 24 hours for timely detection by the system of the expiration date of the pass)
‘guestTime’=>60*24,