summaryrefslogtreecommitdiffstats
path: root/src/models
diff options
context:
space:
mode:
Diffstat (limited to 'src/models')
-rw-r--r--src/models/user.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/models/user.rs b/src/models/user.rs
index 0aaa730..fe6fb64 100644
--- a/src/models/user.rs
+++ b/src/models/user.rs
@@ -31,6 +31,7 @@ pub struct UserEdit {
pub name: String,
pub email: String,
pub username: String,
+ pub is_staff: Option<bool>,
}
/// Response used to print a user (or a users list)