[OzzModz] Remove Ability To Register And/Or Login Via Connected Accounts

[OzzModz] Remove Ability To Register And/Or Login Via Connected Accounts 2.0.3

No permission to download
Isn't this part of default XF? There are no connected account options on my forum because I have them turned off? Sorry if I'm confused.
 
Let’s say you want people to be able to log in via connected accounts but not be able to use them to register. Then this is what you need.
 
You are a mind reader. I was just thinking last night that I needed to figure out a way to disable social signup...while keeping social login. Then I see this just now. Bingo. Well done.
 
I'm getting server errors after install.

  • ErrorException: [E_NOTICE] Undefined variable: providers
  • src/addons/OzzModz/ConnectedAccounts/XF/Pub/Controller/Login.php:24

  • Generated by: Unknown account
  • Aug 27, 2020 at 5:34 PM


Stack trace​


#0 src/addons/OzzModz/ConnectedAccounts/XF/Pub/Controller/Login.php(24): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home1/iwebsxk5...', 24, Array)
#1 src/XF/Mvc/Dispatcher.php(350): OzzModz\ConnectedAccounts\XF\Pub\Controller\Login->actionIndex(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Login', 'Index', Object(XF\Mvc\RouteMatch), Object(OzzModz\ConnectedAccounts\XF\Pub\Controller\Login), NULL)
#3 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(OzzModz\ConnectedAccounts\XF\Pub\Controller\Login), NULL)
#4 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#6 src/XF.php(391): XF\App->run()
#7 index.php(20): XF::runApp('XF\\Pub\\App')
#8 {main}


Request state​


array(4) {
["url"] => string(115) "/login/?_xfRequestUri=%2F&_xfWithData=1&_xfToken=1598563907%2C7709bae929e17027c1e5f8cf0bec9213&_xfResponseType=json"
["referrer"] => string(27) "https://sneaker-groups.com/"
["_GET"] => array(4) {
["_xfRequestUri"] => string(1) "/"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(43) "1598563907,7709bae929e17027c1e5f8cf0bec9213"
["_xfResponseType"] => string(4) "json"
}
["_POST"] => array(0) {
}
}
 
I'm getting server errors after install.

  • ErrorException: [E_NOTICE] Undefined variable: providers
  • src/addons/OzzModz/ConnectedAccounts/XF/Pub/Controller/Login.php:24

  • Generated by: Unknown account
  • Aug 27, 2020 at 5:34 PM


Stack trace​


#0 src/addons/OzzModz/ConnectedAccounts/XF/Pub/Controller/Login.php(24): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home1/iwebsxk5...', 24, Array)
#1 src/XF/Mvc/Dispatcher.php(350): OzzModz\ConnectedAccounts\XF\Pub\Controller\Login->actionIndex(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Login', 'Index', Object(XF\Mvc\RouteMatch), Object(OzzModz\ConnectedAccounts\XF\Pub\Controller\Login), NULL)
#3 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(OzzModz\ConnectedAccounts\XF\Pub\Controller\Login), NULL)
#4 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#6 src/XF.php(391): XF\App->run()
#7 index.php(20): XF::runApp('XF\\Pub\\App')
#8 {main}


Request state​


array(4) {
["url"] => string(115) "/login/?_xfRequestUri=%2F&_xfWithData=1&_xfToken=1598563907%2C7709bae929e17027c1e5f8cf0bec9213&_xfResponseType=json"
["referrer"] => string(27) "https://sneaker-groups.com/"
["_GET"] => array(4) {
["_xfRequestUri"] => string(1) "/"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(43) "1598563907,7709bae929e17027c1e5f8cf0bec9213"
["_xfResponseType"] => string(4) "json"
}
["_POST"] => array(0) {
}
}

Should be fixed in 2.0.2
 
Back
Top Bottom