Jump to content

i want to add alink in error message


fatheeym

Recommended Posts

 

i have installed a verify by e-mail module

but if user didn't verify his/her e-mail and try to login

this error message appear

  • Your account isn't available at this time, please contact us
i want to change it to please verify your e-mail or click here to send the link again

this code

 

	    {if $customerID != '0'}
		    <a class="button lnk_view btn btn-default" href="{$resendLink}">
				<span>{l s='Please resend me the email with the activation link' mod='verifyaccount'}</span>
			</a>
		{/if} 
the error code is in controllers\front/AuthController.php in line 285

the code is

            if (isset($authentication->active) && !$authentication->active) {
                $this->errors[] = Tools::displayError('Your account isn\'t available at this time, please contact us');
Edited by fatheeym (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...