ocadotechnology / codeforlife-portal

The portal code for Code for Life
Other
49 stars 78 forks source link

Teacher registration form missing JavaScript elements when invited to school #2304

Open faucomte97 opened 4 months ago

faucomte97 commented 4 months ago

Describe the bug When a teacher is invited to join a school, they receive an email prompting them to finish the registration process - they just need to provide a password. However, for some reason, the registration form at that stage is missing some JS elements like the reveal password icon as well as the password strength checker.

To Reproduce Steps to reproduce the behaviour:

  1. Login as a school admin.
  2. Invite a teacher to join your school - make sure to use an unused email address you can easily check (you can use the + trick with Gmail)
  3. Follow the registration link in the email you received.
  4. Notice that the form is missing JS elements.

Expected behaviour The form should allow the teacher to view their password as well as inform them regarding their password's strength, similarly to the main registration form.

Screenshots Screenshot from 2024-05-15 13-37-37