Module mod_signup

Let new members register themselves.

Copyright © 2010-2020 Marc Worrell

Authors: Marc Worrell (marc@worrell.nl).

Description

Let new members register themselves.

Function Index

manage_schema/2
observe_identity_verification/2
observe_logon_ready_page/2Return the url to redirect to when the user logged on, defaults to the user's personal page.
observe_signup/2Add a new user or an existing person as user.
observe_signup_url/2Check if a module wants to redirect to the signup form.
request_verification/2Sent verification requests to non verified identities.
signup/4Sign up a new user.
signup_existing/5Sign up a existing user.

Function Details

manage_schema/2

manage_schema(X1, Context) -> any()

observe_identity_verification/2

observe_identity_verification(Identity_verification, Context) -> any()

observe_logon_ready_page/2

observe_logon_ready_page(Logon_ready_page, Context) -> any()

Return the url to redirect to when the user logged on, defaults to the user's personal page.

observe_signup/2

observe_signup(Signup, Context) -> any()

Add a new user or an existing person as user.

observe_signup_url/2

observe_signup_url(Signup_url, Context) -> any()

Check if a module wants to redirect to the signup form. Returns either {ok, Location} or undefined.

request_verification/2

request_verification(UserId, Context) -> any()

Sent verification requests to non verified identities

signup/4

signup(Props::list(), SignupProps::list() | map(), RequestConfirm::boolean(), Context::z:context()) -> {ok, integer()} | {error, term()}

Sign up a new user.

signup_existing/5

signup_existing(UserId::integer() | undefined, Props::map() | list(), SignupProps::list(), RequestConfirm::boolean(), Context::z:context()) -> {ok, integer()} | {error, term()}

Sign up a existing user


Generated by EDoc