zat URL auth updated to match changes to the atoken_login interface

This commit is contained in:
redmatrix
2016-07-21 20:04:30 -07:00
parent 8566f91303
commit bc46f70a90
2 changed files with 12 additions and 3 deletions

View File

@@ -1371,7 +1371,8 @@ function zat_init() {
dbesc($_REQUEST['zat'])
);
if($r) {
atoken_login($r[0]);
$xchan = atoken_xchan($r[0]);
atoken_login($xchan);
}
}