aboutsummaryrefslogtreecommitdiff
path: root/lockchain-http/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lockchain-http/src/lib.rs')
-rw-r--r--lockchain-http/src/lib.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/lockchain-http/src/lib.rs b/lockchain-http/src/lib.rs
index 95d27d2..dfe1211 100644
--- a/lockchain-http/src/lib.rs
+++ b/lockchain-http/src/lib.rs
@@ -114,14 +114,6 @@ where
// Hand-in active auth token
r.method(http::Method::POST).with(handlers::deauthenticate)
})
- .resource("/users/register", |r| {
- // Register a new user (if allowed)
- r.method(http::Method::POST).with(handlers::register);
- })
- .resource("/users/", |r| {
- // Get all available users
- r.method(http::Method::GET).with(handlers::get_all_users);
- })
.resource("/api", |r| {
r.method(http::Method::GET).with(handlers::api_data);
}),