Skip to content

Instantly share code, notes, and snippets.

@jsinglet
Created September 5, 2019 17:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jsinglet/8e1839eb3ee4728243f4499b9463e52c to your computer and use it in GitHub Desktop.
Save jsinglet/8e1839eb3ee4728243f4499b9463e52c to your computer and use it in GitHub Desktop.
import { Injectable } from '@angular/core';
import { LoginService } from './login.service';
@Injectable({
providedIn: 'root'
})
export class Client1loginService extends LoginService {
constructor() { super(); }
login(username: string, password: string) : boolean {
localStorage.setItem('some', 'thing');
return true;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment