[% INCLUDE 'header.html', bodyclass='authpage', title = loc('Sign in or create an account') %]

[% loc('Sign in') %] [% tprintf(loc('or create an account'), '/auth/create') %]

[% TRY %][% INCLUDE 'auth/_general_top.html' %][% CATCH file %][% END %] [% IF oauth_need_email %]

[% loc('We need your email address, please give it below.') %]

[% END %] [% IF oauth_failure %]

[% loc('Sorry, we could not log you in. Please fill in the form below.') %]

[% END %]
[% loc_username_error = INCLUDE 'auth/_username_error.html' default='email' %] [% IF c.cobrand.sms_authentication %] [% SET username_label = loc('Your email or mobile') %] [% SET username_type = 'text' %] [% ELSE %] [% SET username_label = loc('Your email') %] [% SET username_type = 'email' %] [% END %] [% IF loc_username_error %]
[% loc_username_error %]
[% END %]
[% IF oauth_need_email %] [% INCLUDE form_sign_in_no %] [% ELSE %] [% INCLUDE form_sign_in_yes %] [% INCLUDE form_sign_in_no %] [% INCLUDE form_sign_in_camden_staff %] [% END %]
[% INCLUDE 'footer.html' %] [% BLOCK form_sign_in_yes %]

[% loc('Forgotten your password?') %]

[% END %] [% BLOCK form_sign_in_no %]

[% END %] [% BLOCK form_sign_in_camden_staff %] [% IF c.cobrand.feature('oidc_login') %] [% END %] [% END %]