1
|
import { AuthService } from './../../shared/services/auth.service';
|
2
|
import { Component, OnInit } from '@angular/core';
|
3
|
import { TranslatePipe } from '@ngx-translate/core';
|
4
|
|
5
|
@Component({
|
6
|
selector: 'app-login',
|
7
|
templateUrl: './login.component.html',
|
8
|
styleUrls: ['./login.component.scss'],
|
9
|
providers: [TranslatePipe]
|
10
|
})
|
11
|
export class LoginComponent implements OnInit {
|
12
|
|
13
|
constructor(private auth: AuthService) { }
|
14
|
|
15
|
ngOnInit(): void {}
|
16
|
|
17
|
login(): void {
|
18
|
this.auth.login();
|
19
|
}
|
20
|
}
|