🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@seges/angular-authentication-service

Package Overview
Dependencies
Maintainers
4
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@seges/angular-authentication-service - npm Package Compare versions

Comparing version
3.0.2
to
3.0.3
+1
-1
package.json
{
"name": "@seges/angular-authentication-service",
"version": "3.0.2",
"version": "3.0.3",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.ts",

@@ -57,6 +57,2 @@ import * as angular from "angular";

if (event) {
event.preventDefault();
}
const queryString = this.$window.location.search;

@@ -63,0 +59,0 @@ if (queryString) {

@@ -105,10 +105,2 @@ import "angular";

it("should prevent default if not authenticated", () => {
const eventSpy = spyOn(event, "preventDefault");
authenticateService.authenticate(event, undefined);
expect(eventSpy).toHaveBeenCalledTimes(1);
});
it("should redirect with error if querystring attempt is 1", () => {

@@ -115,0 +107,0 @@ $window.location.search = "?attempt=1";