1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

register page

This commit is contained in:
Kyle Spearrin
2018-01-31 14:19:21 -05:00
parent f524322469
commit ae955e6650
9 changed files with 171 additions and 36 deletions

View File

@@ -24,7 +24,7 @@ export class LoginComponent {
constructor(private authService: AuthService, private router: Router, private analytics: Angulartics2,
private toasterService: ToasterService, private i18nService: I18nService) { }
async onSubmit() {
async submit() {
if (this.email == null || this.email === '') {
this.toasterService.popAsync('error', this.i18nService.t('errorOccurred'),
this.i18nService.t('emailRequired'));