summaryrefslogtreecommitdiff
path: root/src/auth.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/auth.rs')
-rw-r--r--src/auth.rs3
1 files changed, 1 insertions, 2 deletions
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
}