summaryrefslogtreecommitdiff
path: root/src/auth.rs
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-04-23 14:37:22 +0200
committertroido <troido@protonmail.com>2020-04-23 14:37:22 +0200
commit904f81b2a31fe30e1f7b11c25a9ce523625f1c6b (patch)
tree81c7627238a2ea401900779d2c6a16994f12d199 /src/auth.rs
parent080466200060d2d3ec64bec32a4959fa061b79ce (diff)
better default adresses
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
}