Explorar el Código

Moved Drift Identify into loggeduser block

Yoginth hace 7 años
padre
commit
7fc46617ee
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      templates/base/verification.tmpl

+ 1 - 1
templates/base/verification.tmpl

@@ -33,10 +33,10 @@
   }();
   drift.SNIPPET_VERSION = '0.3.1';
   drift.load('7xn6zh55rcbx');
+  {{if .LoggedUser}}
   drift.identify('{{.LoggedUser.FullName}}', {
     email: '{{.LoggedUser.Email}}'
   });
-  {{if .LoggedUser}}
   drift.config({
     locale: '{{.Lang}}',
     messages: {