Skip to main content

handle_register_account_action

Function handle_register_account_action 

Source
pub fn handle_register_account_action(
    state_path: &Path,
    request: &HttpRequest,
) -> Result<String, i32>
Expand description

Handles registration by validating form input and appending a password-hash user row.

§Parameters

§Returns

Returns the successful value produced by crate::runtime::dynamic::handle_register_account_action or an error when the operation fails.

§Errors

Returns an error value when crate::runtime::dynamic::handle_register_account_action cannot complete successfully.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::dynamic::handle_register_account_action.

§Examples

ⓘ
let _result = pharos_native::runtime::dynamic::handle_register_account_action(todo!(), todo!());