express-api-user-management-signup
Advanced tools
Comparing version 0.0.552 to 0.0.553
@@ -20,7 +20,7 @@ | ||
success : function(responseText, status, xhr, $form){ | ||
if( ga != undefined ) ga('send', 'event', 'userdashboard','login', 'succes', 1); | ||
if( typeof(ga) != 'undefined' ) ga('send', 'event', 'userdashboard','login', 'succes', 1); | ||
if (status == 'success') window.location.href = '/home'; | ||
}, | ||
error : function(e){ | ||
if( ga != undefined ) ga('send', 'event', 'userdashboard', 'login', 'fail', 1); | ||
if( typeof(ga) != 'undefined' ) ga('send', 'event', 'userdashboard', 'login', 'fail', 1); | ||
lv.showLoginError('Login Failure', 'Please check your username and/or password'); | ||
@@ -48,4 +48,6 @@ } | ||
ev.showEmailSuccess("Check your email on how to reset your password."); | ||
if( typeof(ga) != 'undefined' ) ga('send', 'event', 'userdashboard','reset_password', 'error', 1); | ||
}, | ||
error : function(){ | ||
if( typeof(ga) != 'undefined' ) ga('send', 'event', 'userdashboard','reset_password', 'succes', 1); | ||
ev.showEmailAlert("Sorry. There was a problem, please try again later."); | ||
@@ -52,0 +54,0 @@ } |
@@ -16,3 +16,3 @@ | ||
success : function(responseText, status, xhr, $form){ | ||
if( ga != undefined ) ga('send', 'event', 'userdashboard','login', 'reset_password', 1); | ||
if( typeof(ga) != 'undefined' ) ga('send', 'event', 'userdashboard','login', 'reset_password', 1); | ||
rv.showSuccess("Your password has been reset."); | ||
@@ -19,0 +19,0 @@ setTimeout(function(){ window.location.href = '/'; }, 3000); |
@@ -14,3 +14,3 @@ | ||
$('.modal-alert').modal('show'); | ||
if( ga != undefined ) ga('send', 'event', 'userdashboard','signup', 'succes', 1); | ||
if( typeof(ga) != 'undefined' ) ga('send', 'event', 'userdashboard','signup', 'succes', 1); | ||
} | ||
@@ -20,6 +20,6 @@ }, | ||
if (e.responseText == 'email-taken'){ | ||
if( ga != undefined ) ga('send', 'event', 'userdashboard','signup', 'email_taken', 1); | ||
if( typeof(ga) != 'undefined' ) ga('send', 'event', 'userdashboard','signup', 'email_taken', 1); | ||
av.showInvalidEmail(); | ||
} else if (e.responseText == 'username-taken'){ | ||
if( ga != undefined ) ga('send', 'event', 'userdashboard','signup', 'invalid_username', 1); | ||
if( typeof(ga) != 'undefined' ) ga('send', 'event', 'userdashboard','signup', 'invalid_username', 1); | ||
av.showInvalidUserName(); | ||
@@ -26,0 +26,0 @@ } |
{ | ||
"name": "express-api-user-management-signup", | ||
"version": "0.0.552", | ||
"version": "0.0.553", | ||
"description": "adds user frontend with login-, registration-, and webhook- features to your (express) application. Startingpoint for DIY api management", | ||
@@ -5,0 +5,0 @@ "author": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
726981
10243