Switch Google login to native client
This commit is contained in:
@@ -17,12 +17,16 @@ class Site extends WRB_Controller {
|
||||
// Load Hybridauth's helper
|
||||
$this->load->helper('hybridauth');
|
||||
|
||||
/*
|
||||
// Instantiate Hybridauth's classes
|
||||
$hybrid = new Hybridauth(get_hybridauth_config());
|
||||
|
||||
// Get login links
|
||||
$login_links = get_hybridauth_links($hybrid, $this->router);
|
||||
|
||||
*/
|
||||
$login_links = array(
|
||||
'Google' => get_google_login_link()
|
||||
);
|
||||
// Pass login links to html template
|
||||
$data['login_links'] = $login_links;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user