From 99c864ebd9c23e2eb174352bdc7a18a3b280a8d9 Mon Sep 17 00:00:00 2001
From: David Donges <david.donges@mni.thm.de>
Date: Thu, 8 Mar 2018 13:43:33 +0100
Subject: [PATCH] Add token to user class

---
 src/app/user.ts | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/app/user.ts b/src/app/user.ts
index e9d2a8861..99ed66b0a 100644
--- a/src/app/user.ts
+++ b/src/app/user.ts
@@ -5,11 +5,13 @@ export class User {
   name: string;
   email: string;
   role: UserRole;
+  token: string;
 
-  constructor(id: number, name: string, email: string, role: UserRole) {
+  constructor(id: number, name: string, email: string, role: UserRole, token: string) {
     this.id = id;
     this.name = name;
     this.email = email;
     this.role = role;
+    this.token = token;
   }
 }
-- 
GitLab