[% IF forgotten; title = loc('Forgot password'); ELSE; title = loc('Create an account'); END; INCLUDE 'header.html', bodyclass='authpage' %]

[% title %] [% tprintf(loc('or sign in'), '/auth') %]

[% IF forgotten %]

[% IF c.config.SMS_AUTHENTICATION %] [% loc('Sign in by email or text, providing a new password. When you click the link in your email or enter the SMS authentication code, your password will be updated.') %]

[% ELSE %] [% loc('Sign in by email instead, providing a new password. When you click the link in your email, your password will be updated.') %]

[% END %]

[% END %]
[% loc_username_error = INCLUDE 'auth/_username_error.html' default='email' %] [% IF c.config.SMS_AUTHENTICATION %] [% SET username_label = loc('Your email or mobile') %] [% ELSE %] [% SET username_label = loc('Your email') %] [% END %] [% IF loc_username_error %]
[% loc_username_error %]
[% END %] [% IF field_errors.password_register %]

[% field_errors.password_register %]

[% END %]

[% tprintf(loc('Your password should include %d or more characters.'), c.cobrand.password_minimum_length) %]

[% INCLUDE 'footer.html' %]