Fix regression and update rocket_csrf

Fix account creation, introduced by fceb9ab
Update to latest rocket_csrf
This commit is contained in:
Trinity Pointard
2018-10-02 11:49:11 +02:00
parent 6738883f2b
commit d3ed2d8af5
3 changed files with 5 additions and 4 deletions
+1
View File
@@ -166,6 +166,7 @@ fn main() {
("/inbox".to_owned(), "/inbox".to_owned(), rocket::http::Method::Post),
("/@/<name>/inbox".to_owned(), "/@/<name>/inbox".to_owned(), rocket::http::Method::Post),
("/login".to_owned(), "/login".to_owned(), rocket::http::Method::Post),
("/users/new".to_owned(), "/users/new".to_owned(), rocket::http::Method::Post),
])
.finalize().unwrap())
.launch();