Commit 2ce56b18 authored by Sean Hammond's avatar Sean Hammond

Fix escaped HTML in login error message

If you try to login to an unactivated account the error message that the
server returns contains HTML:

You haven't activated your account yet. <strong>Please check your email and
open the link to activate your account</strong>.

Render this client-side as HTML rather than escaping the tags.

Fixes #3501.
parent 134ca864
...@@ -30,7 +30,8 @@ ...@@ -30,7 +30,8 @@
>Please enter your username or email address.</li> >Please enter your username or email address.</li>
<li class="form-error" <li class="form-error"
ng-show="login.username.$error.response" ng-show="login.username.$error.response"
>{{login.username.responseErrorMessage}}</li> ng-bind-html="login.username.responseErrorMessage">
</li>
</ul> </ul>
</div> </div>
......
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