Skip to content

Error tags ​

auth_error ​

With the auth_error tag you can print the error of the last login, connect or disconnect on your screen.

{exp:reinos_sso:auth_error}

The tag returns an error code (see below) or the error message of the provider. You can compare the code in a conditional:

{if "{exp:reinos_sso:auth_error}" == "email_already_registered"}
    You already have an account, log in with your password.
{/if}

translate ​

Available from v6.0.0

With translate="yes" the error codes are shown as text. The texts are in the language file of the module (reinos_sso_error_{code}).

{exp:reinos_sso:auth_error translate="yes"}

Error codes ​

CodeWhen
email_already_registeredthe email of the provider belongs to an existing member and Allow social login to merge with non social accounts is off
email_not_verifiedmerging is on, but the provider did not verify the email address (v6.0.0)
only_existing_accounts_allowedthere is no member with this email and Allow new SSO accounts is off
account_bannedthe member is banned
account_pendingthe member is not activated yet
connect_requires_logina connect link was used while nobody is logged in (v6.0.0)
invalid_disconnect_linka disconnect link without a valid CSRF token (v6.0.0)
provider_already_linkeda member connects a provider account that is already linked to another member (v6.0.0)

login_error ​

The deprecated name of the auth_error tag.

{exp:reinos_sso:login_error}

email_error ​

With the email_error tag you can print the email error on your screen (if you collect a email if needed), in the template of the Email collect form setting (see CP Overview).

{exp:reinos_sso:email_error}

The texts are in the language file of the module:

TextWhen
This is not a valid email address, please try again.the entered value is not an email address (reinos_sso_error_email_invalid)
This email address is already in use.a member with this email already exists (reinos_sso_error_email_in_use)