.
This commit is contained in:
+2
-2
@@ -238,7 +238,7 @@ class CidUser(models.Model):
|
|||||||
if self.login_email_sent and not self.resend:
|
if self.login_email_sent and not self.resend:
|
||||||
return False, "Already sent."
|
return False, "Already sent."
|
||||||
|
|
||||||
login_url = HttpRequest.build_absolute_uri(reverse("cid_selector"))
|
login_url = reverse("cid_selector")
|
||||||
|
|
||||||
msg = f"""
|
msg = f"""
|
||||||
See below for you details for: {self.group}
|
See below for you details for: {self.group}
|
||||||
@@ -251,7 +251,7 @@ class CidUser(models.Model):
|
|||||||
You will need these to login to the test system on the day.
|
You will need these to login to the test system on the day.
|
||||||
|
|
||||||
Direct link to login:
|
Direct link to login:
|
||||||
{login_url}?cid={self.cid}&passcode={self.passcode}
|
{settings.REMOTE_URL}/{login_url}?cid={self.cid}&passcode={self.passcode}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user