aboutsummaryrefslogtreecommitdiff
path: root/lockchain-http/src/lib.rs
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2018-07-02 21:53:59 +0200
committerKatharina Fey <kookie@spacekookie.de>2018-07-02 21:53:59 +0200
commitf903e653d59fa923210f5a583f7f8adc663a5dd5 (patch)
tree1af992782b624170e5b7c47f107675721bda5b17 /lockchain-http/src/lib.rs
parentf2156e21b830ebc3cfd0f9eab4e7e01112e023b4 (diff)
This doesn't work
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);
}),