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 : ['']
    });
  }



}
