{* Auth endpoints (app and urls) list *} {function auth_endpoints_select} {$_selected_route_url = ''} {$_selected_endpoint = []} {$_selected_app = []} {$_selected_app_id = $_selected_app.id|default:''} {if !empty($auth_config.route_url) && isset($auth_endpoints[$auth_config.route_url])} {$_selected_endpoint = $auth_endpoints[$auth_config.route_url]} {$_selected_route_url = $auth_config.route_url|default:''} {$_selected_app = $_selected_endpoint.app|default:[]} {/if}
[`Site section for login and signup`]
[`Select a site section where visitors will sign up and log into their personal accounts.`]
{/function} {* Password system *} {function password_system}
[`Passwords type`]
[`Successful signup notification`]
{$_notify = $auth_config.signup_notify|default:null || $_auth_type == waAuthConfig::AUTH_TYPE_GENERATE_PASSWORD}
{/function} {function timeout}
[`Verification code re-sending`]
{/function} {function auth_by_login}
[`Enable to allow backend users to log in on the website with their login names. Only login names different from phone numbers, i.e. containing characters other than digits, are supported.`]
{/function} {* Email settings *} {function email_settings} {$_email_used = in_array(waAuthConfig::AUTH_METHOD_EMAIL, $used_auth_methods)}

[`Email`]

{/function} {* Social networks settings *} {function social_networks_settings} {$_social_used = in_array(waAuthConfig::AUTH_METHOD_SOCIAL, $used_auth_methods)}

[`Social networks (additional authorization option)`]

{/function} {* Phone settings *} {function phone_settings} {$_sms_used = in_array(waAuthConfig::AUTH_METHOD_SMS, $used_auth_methods)}

[`Phone`]

{/function} {* Register form *} {function register_form}

[`Signup form`]

{/function} {* Login form *} {function login_form}

[`Login form`]

{/function}