Commit 9ed7f586 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio_ui_test: Fixup Typo

See merge request nexedi/slapos.core!507
parents bfe6284c 2732c1db
Pipeline #27426 failed with stage
in 0 seconds
...@@ -7,5 +7,5 @@ assert "WebSite_viewResetPassword" in last_message[2] ...@@ -7,5 +7,5 @@ assert "WebSite_viewResetPassword" in last_message[2]
message = last_message[2].replace("\n", " ") message = last_message[2].replace("\n", " ")
for _word in message.split(" "): for _word in message.split(" "):
if "WebSite_viewResetPassword?reset_key" in _word: if "WebSite_viewResetPassword?reset_key" in _word:
container.REQUEST.REPONSE.setHeader('Content-Type', 'text/html') container.REQUEST.RESPONSE.setHeader('Content-Type', 'text/html')
return "<a href='%s' name='reset_password'>Reset Password link sent by mail </a>" % _word.strip() return "<a href='%s' name='reset_password'>Reset Password link sent by mail </a>" % _word.strip()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment