1. Ivan Gavrilov
  2. moin-2.0

Commits

Thomas Waldmann  committed caa4087 Merge

merged

  • Participants
  • Parent commits 2e939e7, 9765ae5
  • Branches default

Comments (0)

Files changed (1)

File MoinMoin/apps/frontend/views.py

View file
  • Ignore whitespace
     )
     forms = dict()
 
+    if not flaskg.user.valid:
+        return redirect(url_for('.login'))
+
     if request.method == 'POST':
         part = request.form.get('part')
         if part not in form_classes: