Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -148,7 +148,7 @@ def register():
|
|
148 |
msg["Subject"] = "SmileCheck Verification"
|
149 |
msg["From"] = "smilecheck100@gmail.com"
|
150 |
msg["To"] = email
|
151 |
-
link = f"
|
152 |
|
153 |
html_content = render_template('email.html', name=name, link=link)
|
154 |
msg.set_content(html_content, subtype='html')
|
@@ -270,7 +270,7 @@ def forgot():
|
|
270 |
msg["Subject"] = "SmileCheck Verification"
|
271 |
msg["From"] = "smilecheck100@gmail.com"
|
272 |
msg["To"] = email
|
273 |
-
link = f"
|
274 |
|
275 |
html_content = render_template('pass.html', name=name, link=link)
|
276 |
msg.set_content(html_content, subtype='html')
|
|
|
148 |
msg["Subject"] = "SmileCheck Verification"
|
149 |
msg["From"] = "smilecheck100@gmail.com"
|
150 |
msg["To"] = email
|
151 |
+
link = f"https://abhicodes-smilecheck.hf.space/verify/{otp}"
|
152 |
|
153 |
html_content = render_template('email.html', name=name, link=link)
|
154 |
msg.set_content(html_content, subtype='html')
|
|
|
270 |
msg["Subject"] = "SmileCheck Verification"
|
271 |
msg["From"] = "smilecheck100@gmail.com"
|
272 |
msg["To"] = email
|
273 |
+
link = f"https://abhicodes-smilecheck.hf.space/password/{otp}"
|
274 |
|
275 |
html_content = render_template('pass.html', name=name, link=link)
|
276 |
msg.set_content(html_content, subtype='html')
|