Skip to content

Commit 342eaef

Browse files
committed
Split the base registration page with local password registration
1 parent 3088d35 commit 342eaef

File tree

12 files changed

+1023
-772
lines changed

12 files changed

+1023
-772
lines changed

crates/handlers/src/lib.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,11 @@ where
370370
)
371371
.route(
372372
mas_router::Register::route(),
373-
get(self::views::register::get).post(self::views::register::post),
373+
get(self::views::register::get),
374+
)
375+
.route(
376+
mas_router::PasswordRegister::route(),
377+
get(self::views::password_register::get).post(self::views::password_register::post),
374378
)
375379
.route(
376380
mas_router::AccountVerifyEmail::route(),

crates/handlers/src/views/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ pub mod app;
99
pub mod index;
1010
pub mod login;
1111
pub mod logout;
12+
pub mod password_register;
1213
pub mod reauth;
1314
pub mod recovery;
1415
pub mod register;

0 commit comments

Comments
 (0)