{#if form?.invalid}

Username and password is required.

{/if} {#if form?.credentials}

Username or password is incorrect.

{/if}