Commit 88e9c859 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes: #3316 possible xss in login screen

parent be0fb2d3
......@@ -26,7 +26,7 @@
<div>
<label for="username"><img class="center" src="{$personal_img}" alt="{t}Username{/t}" title="{t}Username{/t}"/>&nbsp;</label>
<input type="text" name="username" id="username" maxlength="40" value="{$username}"
<input type="text" name="username" id="username" maxlength="40" value="{$username|escape}"
title="{t}Username{/t}" onFocus="nextfield= 'password';" />
<br />
<br />
......
Supports Markdown
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