Commits

Julian Brost committed 4b7dde8

Marked output of MoinAuth.login_hint() as Markup.

  • Participants
  • Parent commits fde0a16

Comments (0)

Files changed (1)

MoinMoin/auth/__init__.py

 from flask import url_for, session, request
 from flask import flaskg
 from flask import current_app as app
+from jinja2 import Markup
 
 from MoinMoin import _, N_
 from MoinMoin import user, wikiutil
                 register_url=url_for('frontend.register'))
         msg += _('<a href="%(recover_url)s">Forgot your password?</a>',
                  recover_url=url_for('frontend.lostpass'))
-        #HHH
-        return msg
+        return Markup(msg)
 
 
 class GivenAuth(BaseAuth):