client/src/app/+login/login.component.html
@if (externalAuthError) { Sorry but there was an issue with the external login process. Please contact an administrator. } @if (!externalAuthError && !isAuthenticatedWithExternalAuth) {
@if (signupAllowed) {
{{ instanceName }} allows registration. However, be careful to check the TermsTerms before creating an account. You may also search for another PeerTube platform to match your exact needs at: https://joinpeertube.org/instances.
} @else {
{{ instanceName }} doesn't allow for user registration. You may check the TermsTerms for more details or find a PeerTube platform that gives you the possibility to sign up for an account and upload your videos there. Find yours among multiple platforms at: https://joinpeertube.org/instances.
} @if (error) { {{ error }} @if (emailNotVerifiedError) { Request new verification email } @if (passwordTooLongError) { Reset your password } }
@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) { I forgot my password @if (signupAllowed) { ·Create an account } } @if (hasExternalLogins()) {
Or sign in with
@for (auth of getExternalLogins(); track auth) { {{ auth.authDisplayName }} }
}
}
@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