clean code (rename login.service => auth.service)
This commit is contained in:
parent
3f91be07a2
commit
c50ca2f507
8 changed files with 8 additions and 8 deletions
|
|
@ -2,7 +2,7 @@ import { Injectable } from '@angular/core';
|
|||
import { Router } from '@angular/router';
|
||||
import { Observable, of } from 'rxjs';
|
||||
import { map, catchError } from 'rxjs/operators';
|
||||
import { LoginService } from './services/login.service';
|
||||
import { LoginService } from './services/auth.service';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import { FormBtnComponent } from '../../../shared/components/buttons/form-btn/fo
|
|||
import { FooterComponent } from '../footer/footer.component';
|
||||
import { HeaderComponent } from '../header/header.component';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
import { LoginService } from '../../../services/login.service';
|
||||
import { LoginService } from '../../../services/auth.service';
|
||||
import { SharedService } from '../../../services/shared.service';
|
||||
import { BtnBackComponent } from '../../../shared/components/buttons/btn-back/btn-back.component';
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import { FooterComponent } from '../../footer/footer.component';
|
|||
import { HeaderComponent } from '../../header/header.component';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
import { FirebaseService } from '../../../../services/firebase.service';
|
||||
import { LoginService } from '../../../../services/login.service';
|
||||
import { LoginService } from '../../../../services/auth.service';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { SharedService } from '../../../../services/shared.service';
|
||||
import { Subscription } from 'rxjs';
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { FormsModule, NgForm } from '@angular/forms';
|
|||
import { FormBtnComponent } from '../../shared/components/buttons/form-btn/form-btn.component';
|
||||
import { FirebaseService } from '../../services/firebase.service';
|
||||
import { ActivatedRoute, Router, RouterLink } from '@angular/router';
|
||||
import { LoginService } from '../../services/login.service';
|
||||
import { LoginService } from '../../services/auth.service';
|
||||
import { SharedService } from '../../services/shared.service';
|
||||
import { FooterComponent } from './footer/footer.component';
|
||||
import { HeaderComponent } from './header/header.component';
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import { FormsModule, NgForm } from '@angular/forms';
|
|||
import { CommonModule } from '@angular/common';
|
||||
import { FormBtnComponent } from '../../../shared/components/buttons/form-btn/form-btn.component';
|
||||
import { FirebaseService } from '../../../services/firebase.service';
|
||||
import { LoginService } from '../../../services/login.service';
|
||||
import { LoginService } from '../../../services/auth.service';
|
||||
import { SharedService } from '../../../services/shared.service';
|
||||
import { BtnBackComponent } from '../../../shared/components/buttons/btn-back/btn-back.component';
|
||||
import { RouterModule } from '@angular/router';
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ import { SharedService } from './shared.service';
|
|||
import { User } from '../interfaces/user.interface';
|
||||
import { Router } from '@angular/router';
|
||||
import CryptoES from 'crypto-es';
|
||||
import { CryptoESSecretKey } from './../environments/config';
|
||||
import { CryptoESSecretKey } from '../environments/config';
|
||||
import { catchError, map, Observable, of } from 'rxjs';
|
||||
|
||||
@Injectable({
|
||||
|
|
@ -4,7 +4,7 @@ import { HeaderComponent } from '../header.component';
|
|||
import { LanguageService } from '../../../../services/language.service';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
import { LoginService } from '../../../../services/login.service';
|
||||
import { LoginService } from '../../../../services/auth.service';
|
||||
import { FirebaseService } from '../../../../services/firebase.service';
|
||||
|
||||
@Component({
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import { Component, OnInit } from '@angular/core';
|
|||
import { NavigationEnd, Router, RouterModule } from '@angular/router';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
import { LanguageService } from '../../../services/language.service';
|
||||
import { LoginService } from '../../../services/login.service';
|
||||
import { LoginService } from '../../../services/auth.service';
|
||||
import { FirebaseService } from '../../../services/firebase.service';
|
||||
|
||||
@Component({
|
||||
|
|
|
|||
Loading…
Reference in a new issue