execute_signup

Function execute_signup 

Source
pub fn execute_signup<R>(repo: &mut R, cmd: SignUpUser) -> HexResult<User>
Expand description

Application helper that executes the signup flow.

  • Validates the directive
  • Ensures email is unique
  • Creates and persists a new user