Skip to content
Permalink
Browse files

Merge pull request #265 from phanbook/hotfix/google-auth

Fix login google
  • Loading branch information
duythien committed Nov 10, 2019
2 parents 5a2bb50 + fac5de5 commit a8a2bd886a1120afe67ae701741d18ba38a9499b
@@ -632,7 +632,7 @@ public function onConstruct()
'action' => $this->router->getActionName(),
'controller' => $this->router->getControllerName(),
'baseUri' => $this->config->application->baseUri,
'googleAnalytic'=> $this->config->googleAnalytic
'googleAnalytic'=> $this->config->google->analytic
]);
}
@@ -220,9 +220,10 @@
* @link http://www.google.com/analytics/
* @link https://developers.google.com/console/help/new/
*/
'googleAnalytic' => env('ANALYTIC_ID'),
'analytic' => [
'google' => [
'analytic' => env('ANALYTIC_ID'),
'clientId' => env('ANALYTIC_CLIENT_ID'),
'clientSecret' => env('ANALYTIC_SECRET'),
'redirectUri' => env('ANALYTIC_REDIRECT_URI'),
@@ -19,7 +19,7 @@
var baseUri = '/backend/';
var controller = '{{ controller }}';
var action = '{{ action }}';
var googleAnalytic = '{{ this.config.googleAnalytic }}';
var googleAnalytic = '{{ this.config.google.analytic }}';
</script>
</head>

0 comments on commit a8a2bd8

Please sign in to comment.
You can’t perform that action at this time.