1
# you can put this into your wiki config, please be careful with
2
# indentation, it needs to be in the Config class, indented as all
3
# the other config attributes.
4
# it will display a red box above your wiki theme then, notifying
5
# not-logged-in users of the password invalidation, point them to
6
# the information page on the MoinMoin project wiki.
8
def important_note(self, request):
10
if not request.user.valid:
11
url = "http://moinmo.in/PasswordReset"
14
All passwords were invalidated, you need to do a password recovery once
15
to define a NEW and DIFFERENT password.
16
For more information, please <a href="%(url)s">see there</a>.
19
<div style="border:red; border-style:dotted; padding:0.5em; background-color:#FFCCCC;">
25
page_header1 = important_note