{foreach from=$errors key=error item=errmess} {if $error eq 'NO_SUCH_USER'}

No such user

{elseif $error eq 'INVALID_PASSWORD'}

Invalid password

{elseif $error eq 'USER_NOT_ACTIVE'}

Your account is not active

{/if} {/foreach}