Refined docs and stuff
Docs link to each other and are generally better
This commit is contained in:
@@ -29,7 +29,7 @@ pub struct AdminSetupScheme {
|
||||
/// a form to create the first admin user. Key functionality:
|
||||
///
|
||||
/// - **Admin Check**: On mount, verifies if an admin already exists by calling `/api/check-admin`.
|
||||
/// If an admin is found, the user is redirected to the login page (`crate::Route::Login`).
|
||||
/// If an admin is found, the user is redirected to the login page ([`crate::Route::Login`]).
|
||||
/// - **Form Fields**: Collects `first_name`, `last_name`, `username`, `password`, and `confirm_password`.
|
||||
/// - **Form Validation**:
|
||||
/// - Ensures password fields are not empty.
|
||||
|
||||
Reference in New Issue
Block a user