update
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
||||
|
||||
import { environment } from '../../../environments/environment';
|
||||
|
||||
@Component({
|
||||
selector: 'app-form-login-totp',
|
||||
templateUrl: './form-login-totp.component.html',
|
||||
styleUrls: ['./form-login-totp.component.scss']
|
||||
})
|
||||
export class FormLoginTotpComponent implements OnInit {
|
||||
|
||||
form: FormGroup;
|
||||
public loginInvalid: boolean;
|
||||
public apiUrl = environment.apiUrl;
|
||||
|
||||
constructor(private formBuilder: FormBuilder) { }
|
||||
|
||||
async ngOnInit() {
|
||||
this.form = this.formBuilder.group({
|
||||
code: ['', Validators.required],
|
||||
keep : ['']
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user