Switch Google login to native client

This commit is contained in:
2022-04-04 01:03:39 -04:00
parent 769e1bc7b1
commit 59f0e75842
5 changed files with 151 additions and 58 deletions
+5 -1
View File
@@ -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;