From 904f81b2a31fe30e1f7b11c25a9ce523625f1c6b Mon Sep 17 00:00:00 2001 From: troido Date: Thu, 23 Apr 2020 14:37:22 +0200 Subject: better default adresses --- src/auth.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/auth.rs') diff --git a/src/auth.rs b/src/auth.rs index d5a2ffc..8178593 100644 --- a/src/auth.rs +++ b/src/auth.rs @@ -20,14 +20,13 @@ pub enum LoaderError { #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] pub enum UserRole { - User, + Player, Bridge } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] pub struct User { pub name: String, - pub email: String, pub pass_token: String, pub role: UserRole } -- cgit