# Login on {{ instanceName }}

@if (externalAuthError) { Sorry but there was an issue with the external login process. Please contact an administrator. } @if (!externalAuthError && !isAuthenticatedWithExternalAuth) { @if (error) { {{ error }} @if (emailNotVerifiedError) { Request new verification email } @if (passwordTooLongError) {
} }
@if (!otpStep) {
Username or email address
@if (formErrors.username) {
{{ formErrors.username }}
}
Password
} @if (otpStep) {

Enter the two-factor code generated by your phone app:

Two factor authentication token
} @if (!otpStep) {
@if (signupAllowed) { · Create an account }
} @if (hasExternalLogins()) {
Or sign in with
@for (auth of getExternalLogins(); track auth) { {{ auth.authDisplayName }} }
}
}

#### Forgot your password

@if (isEmailDisabled()) { We are sorry, you cannot recover your password because your instance administrator did not configure the PeerTube email system. } @if (!isEmailDisabled()) {
Enter your email address and we will send you a link to reset your password.
}
Email