Verified Commit cf376e2b authored by Waitman Gobble's avatar Waitman Gobble 🍓
Browse files

Use Account Id instead of Channel Id

parent d15fd1b6
......@@ -16,7 +16,8 @@ class YubiOTP extends \Zotlabs\Web\Controller {
function get()
{
$loc = local_channel();
$channel = \App::get_channel();
$loc = intval($channel['channel_account_id']);
$show_yubiform = true;
$another_ok = true;
$o = '';
......
......@@ -7,7 +7,8 @@ function check_yubi()
return;
}
$loc = intval(local_channel());
$channel = \App::get_channel();
$loc = intval($channel['channel_account_id']);
$is_approved = false;
/* is the user logged in? */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment