Skip to content
Permalink
Browse files

Fix login google

  • Loading branch information
duythien committed Nov 10, 2019
1 parent 5a2bb50 commit fac5de5b62c2b420bbb2d8b40336051577d44dd0
@@ -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 fac5de5

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