view MoinMoin/apps/admin/ @ 2664:772810aa8013

Solved traceback as per issue #417 Once a user registers he is sent a mail to his given email for confirmation of his account creation details. Till the time they confirm their account details, the email provided by them is stored with the 'EMAIL_UNVALIDATED' key. Only after the user confirms the account the email is stored with 'EMAIL' key. So this caused the error as in case of an unconfirmed user there was no 'EMAIL' key, so to solve that check for 'EMAIL' and 'EMAIL_UNVALIDATED' key has been added.
author Ajitesh Gupta <>
date Sat, 05 Jul 2014 17:11:57 +0530
parents 4ac437141bbe
line wrap: on
line source
# Copyright: 2010 MoinMoin:ThomasWaldmann
# License: GNU GPL v2 (or any later version), see LICENSE.txt for details.

    MoinMoin - admin views package

    This package contains all views, templates, static files for wiki administration.

from flask import Blueprint
admin = Blueprint('admin', __name__, template_folder='templates')
import MoinMoin.apps.admin.views