Skip to content

Commit

Permalink
Split the base registration page with local password registration
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhose committed Dec 20, 2024
1 parent da38dfb commit 0145c9b
Show file tree
Hide file tree
Showing 12 changed files with 1,002 additions and 751 deletions.
6 changes: 5 additions & 1 deletion crates/handlers/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,11 @@ where
)
.route(
mas_router::Register::route(),
get(self::views::register::get).post(self::views::register::post),
get(self::views::register::get),
)
.route(
mas_router::PasswordRegister::route(),
get(self::views::password_register::get).post(self::views::password_register::post),
)
.route(
mas_router::AccountVerifyEmail::route(),
Expand Down
1 change: 1 addition & 0 deletions crates/handlers/src/views/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ pub mod app;
pub mod index;
pub mod login;
pub mod logout;
pub mod password_register;
pub mod reauth;
pub mod recovery;
pub mod register;
Expand Down
Loading

0 comments on commit 0145c9b

Please sign in to comment.