mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
move new app into popup folder
This commit is contained in:
28
src/popup/accounts/login.component.ts
Normal file
28
src/popup/accounts/login.component.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
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 { SyncService } from 'jslib/abstractions/sync.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, syncService: SyncService) {
|
||||
super(authService, router, analytics, toasterService, i18nService, syncService);
|
||||
this.successRoute = '/tabs/vault';
|
||||
}
|
||||
|
||||
settings() {
|
||||
this.router.navigate(['environment']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user