mirror of
https://github.com/bitwarden/web
synced 2026-01-01 08:03:13 +00:00
24 lines
830 B
TypeScript
24 lines
830 B
TypeScript
import { Component } from '@angular/core';
|
|
import { Router } from '@angular/router';
|
|
|
|
import { ToasterService } from 'angular2-toaster';
|
|
import { Angulartics2 } from 'angulartics2';
|
|
|
|
import { AuthService } from 'jslib/abstractions/auth.service';
|
|
import { I18nService } from 'jslib/abstractions/i18n.service';
|
|
|
|
import { LoginComponent as BaseLoginComponent } from 'jslib/angular/components/login.component';
|
|
|
|
@Component({
|
|
selector: 'app-login',
|
|
templateUrl: 'login.component.html',
|
|
})
|
|
export class LoginComponent extends BaseLoginComponent {
|
|
constructor(authService: AuthService, router: Router,
|
|
analytics: Angulartics2, toasterService: ToasterService,
|
|
i18nService: I18nService) {
|
|
super(authService, router, analytics, toasterService, i18nService);
|
|
this.successRoute = '/vault';
|
|
}
|
|
}
|