Attachment 'myauth.py'
Download 1 # -*- coding: iso-8859-1 -*-
2
3 from MoinMoin import log
4 logging = log.getLogger(__name__)
5
6 from MoinMoin.auth import BaseAuth, GivenAuth, MoinAuth
7 from MoinMoin import user, wikiutil
8
9 class MyAuth(MoinAuth):
10 """ handle login from moin login form """
11
12 def login_hint(self, request):
13 _ = request.getText
14 #userprefslink = request.page.url(request, querystr={'action': 'newaccount'})
15 sendmypasswordlink = request.page.url(request, querystr={'action': 'recoverpass'})
16 return _('<a href="%(sendmypasswordlink)s">Password vergessen?</a>') % {
17 'sendmypasswordlink': sendmypasswordlink}
18
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.