From ed339b9167d7e5eed271e7e53b04750735ce59fa Mon Sep 17 00:00:00 2001
From: besque
Date: Fri, 25 Oct 2024 12:48:35 +0530
Subject: [PATCH 1/4] Fixed teacher invitation password visibility and strength
checker
---
portal/forms/teach.py | 1 +
portal/templates/portal/teach/invited.html | 22 +++++++++++++++-------
2 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/portal/forms/teach.py b/portal/forms/teach.py
index 15f49e063..cc22a80b9 100644
--- a/portal/forms/teach.py
+++ b/portal/forms/teach.py
@@ -18,6 +18,7 @@
class InvitedTeacherForm(forms.Form):
+ prefix = 'teacher_signup'
teacher_password = forms.CharField(
help_text="Enter a password",
widget=forms.PasswordInput(
diff --git a/portal/templates/portal/teach/invited.html b/portal/templates/portal/teach/invited.html
index 42f9c1504..6825276cf 100644
--- a/portal/templates/portal/teach/invited.html
+++ b/portal/templates/portal/teach/invited.html
@@ -20,7 +20,7 @@ Complete registration
-