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

@websanova/vue-auth

Package Overview
Dependencies
Maintainers
1
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@websanova/vue-auth - npm Package Compare versions

Comparing version 3.1.3-beta to 3.1.4-beta

2

package.json

@@ -17,3 +17,3 @@ {

"version": "3.1.3-beta",
"version": "3.1.4-beta",

@@ -20,0 +20,0 @@ "repository": {

@@ -540,17 +540,15 @@ import * as __utils from './lib/utils.js';

Auth.prototype.register = function (data) {
data = __utils.extend(__auth.options.registerData, data);
var registerData = __utils.extend(__auth.options.registerData, data);
return new Promise((resolve, reject) => {
__auth.http.http
.call(__auth, data)
.call(__auth, registerData)
.then((res) => {
if (data.autoLogin) {
var loginData;
if (registerData.autoLogin) {
loginData = __utils.extend(__auth.options.loginData, data);
__auth
.login({
body: data.body,
redirect: data.redirect,
remember: data.remember,
fetchUser: data.fetchUser,
staySignedIn: data.staySignedIn
})
.login(loginData)
.then(resolve, reject);

@@ -561,3 +559,3 @@ }

_processRedirect(data.redirect);
_processRedirect(registerData.redirect);
}

@@ -578,4 +576,2 @@ }, reject);

.then((res) => {
// _setAuthenticated(true);
if (

@@ -582,0 +578,0 @@ data.fetchUser ||

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