member_webapp/src/app/pages/auth/signin/signin-page.component.ts
2018-04-06 21:40:59 +09:00

28 lines
648 B
TypeScript

import { Component, OnInit } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { Form, FormBuilder, FormGroup, FormGroupDirective, FormControl, NgForm, Validators } from '@angular/forms';
@Component({
selector: 'of-pages-auth-signin',
templateUrl: './signin-page.component.html',
})
export class SigninPageComponent implements OnInit {
signInForm: FormGroup;
returnURL: string;
constructor(
private router: Router,
private activatedRoute: ActivatedRoute,
) { }
ngOnInit() {
this.returnURL = this.activatedRoute.snapshot.queryParams['returnURL'] || '/';
}
initForm() {
}
}