aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/user/user-login/user-login.component.ts
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-03-11 00:07:59 +0800
committercrupest <crupest@outlook.com>2019-03-11 00:07:59 +0800
commitf8cfca136a69c6589bb610a66ea5342fc585f19b (patch)
treea14bfc3d1d12e6852c0f383142b0a78a2f98a180 /Timeline/ClientApp/src/app/user/user-login/user-login.component.ts
parent233de3a11027fd88130882f20764ee5f2952abe0 (diff)
downloadtimeline-f8cfca136a69c6589bb610a66ea5342fc585f19b.tar.gz
timeline-f8cfca136a69c6589bb610a66ea5342fc585f19b.tar.bz2
timeline-f8cfca136a69c6589bb610a66ea5342fc585f19b.zip
Write unit tests.
Diffstat (limited to 'Timeline/ClientApp/src/app/user/user-login/user-login.component.ts')
-rw-r--r--Timeline/ClientApp/src/app/user/user-login/user-login.component.ts6
1 files changed, 1 insertions, 5 deletions
diff --git a/Timeline/ClientApp/src/app/user/user-login/user-login.component.ts b/Timeline/ClientApp/src/app/user/user-login/user-login.component.ts
index 082f879c..79a788de 100644
--- a/Timeline/ClientApp/src/app/user/user-login/user-login.component.ts
+++ b/Timeline/ClientApp/src/app/user/user-login/user-login.component.ts
@@ -1,4 +1,4 @@
-import { Component, Output, OnInit, EventEmitter } from '@angular/core';
+import { Component, OnInit } from '@angular/core';
import { FormGroup, FormControl } from '@angular/forms';
import { ActivatedRoute } from '@angular/router';
@@ -6,10 +6,6 @@ import { InternalUserService } from '../internal-user-service/internal-user.serv
export type LoginMessage = 'nologin' | 'invalidlogin' | string;
-export class LoginEvent {
- username: string;
- password: string;
-}
@Component({
selector: 'app-user-login',