Start work on login form
This commit is contained in:
parent
4eb3ac6350
commit
1667c3295b
4 changed files with 20 additions and 9 deletions
|
|
@ -13,7 +13,7 @@ mod login;
|
|||
pub fn router(subpath: Option<String>, state: RoutableAppState) -> Router {
|
||||
let app = Router::new()
|
||||
.route("/", get(index::route))
|
||||
.route("/login/", get(login::route))
|
||||
.route("/login/", post(login::route))
|
||||
.with_state(state);
|
||||
if let Some(p) = subpath {
|
||||
Router::new()
|
||||
|
|
|
|||
Loading…
Reference in a new issue