Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

express-api-user-management-signup

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-api-user-management-signup - npm Package Compare versions

Comparing version 0.0.53 to 0.0.54

4

app/public.account/js/controllers/homeController.js

@@ -59,2 +59,3 @@

success: function(data){
if( ga != undefined ) ga('send', 'event', 'userdashboard', 'logout', 'succes', 1);
that.showLockedAlert('You are now logged out.<br>Redirecting you back to the homepage.');

@@ -90,2 +91,3 @@ },

$('.modal-confirm .submit').click(function(){
if( ga != undefined ) ga('send', 'event', 'click', 'userdashboard', 'account_delete', 1);
that.deleteAccount();

@@ -101,2 +103,3 @@ });

$('.modal-confirm .submit').click(function(){
if( ga != undefined ) ga('send', 'event', 'click', 'userdashboard', 'apikey_regenerate', 1);
that.regenerateApiKey();

@@ -117,2 +120,3 @@ });

$('.modal-alert button').off('click');
if( ga != undefined ) ga('send', 'event', 'click', 'userdashboard', 'account_update', 1);
}

@@ -18,3 +18,6 @@

success : function(responseText, status, xhr, $form){
if (status == 'success') hc.onUpdateSuccess();
if (status == 'success'){
hc.onUpdateSuccess();
if( ga != undefined ) ga('send', 'event', 'userdashboard','signup', 'succes', 1);
}
},

@@ -24,3 +27,5 @@ error : function(e){

av.showInvalidEmail();
if( ga != undefined ) ga('send', 'event', 'userdashboard','signup','email_taken', 1);
} else if (e.responseText == 'username-taken'){
if( ga != undefined ) ga('send', 'event', 'userdashboard','signup','invalid_username', 1);
av.showInvalidUserName();

@@ -27,0 +32,0 @@ }

6

app/public.account/js/views/login.js

@@ -20,6 +20,8 @@

success : function(responseText, status, xhr, $form){
if( ga != undefined ) ga('send', 'event', 'userdashboard','login', 'succes', 1);
if (status == 'success') window.location.href = '/home';
},
error : function(e){
lv.showLoginError('Login Failure', 'Please check your username and/or password');
if( ga != undefined ) ga('send', 'event', 'userdashboard', 'login', 'fail', 1);
lv.showLoginError('Login Failure', 'Please check your username and/or password');
}

@@ -52,2 +54,2 @@ });

})
})

@@ -16,2 +16,3 @@

success : function(responseText, status, xhr, $form){
if( ga != undefined ) ga('send', 'event', 'userdashboard','login', 'reset_password', 1);
rv.showSuccess("Your password has been reset.");

@@ -28,2 +29,2 @@ setTimeout(function(){ window.location.href = '/'; }, 3000);

});
});

@@ -12,8 +12,13 @@

success : function(responseText, status, xhr, $form){
if (status == 'success') $('.modal-alert').modal('show');
if (status == 'success'){
$('.modal-alert').modal('show');
if( ga != undefined ) ga('send', 'event', 'userdashboard','signup', 'succes', 1);
}
},
error : function(e){
if (e.responseText == 'email-taken'){
if( 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);
av.showInvalidUserName();

@@ -40,2 +45,2 @@ }

})
})
{
"name": "express-api-user-management-signup",
"version": "0.0.53",
"version": "0.0.54",
"description": "adds user frontend with login-, registration-, and webhook- features to your (express) application. Startingpoint for DIY api management",

@@ -5,0 +5,0 @@ "author": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc