Start work on login form

This commit is contained in:
selfhoster selfhoster 2023-08-22 17:00:55 +02:00
commit 1667c3295b
4 changed files with 20 additions and 9 deletions

View file

@ -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()