Hi ;
How to change the « Username and e-mail address » text and « Example: john@example.com » text on the login page in my Peertube example?
Hi ;
How to change the « Username and e-mail address » text and « Example: john@example.com » text on the login page in my Peertube example?
I don’t know. I noticed that it’s an input element with the ID ‹ username ›. I thought this would work but it doesn’t:
admin/config/edit-custom#advanced-configuration
Customizations → JavaScript
const emailField = document.getElementById('username');
emailField.placeholder = "new text here";
I’m not sure where and when this is executed. Maybe someone can take it from here.