pytition / Pytition

Django app for self-hosted privacy-friendly online petitions
https://pytition.org
BSD 3-Clause "New" or "Revised" License
100 stars 28 forks source link

Flag ALLOW_REGISTER not really active #225

Closed bbmt-bbmt closed 4 years ago

bbmt-bbmt commented 4 years ago

Describe the bug Even if the flag ALLOW_REGISTER is set to False, if i add "/register" to the url, i can create a user

To Reproduce Steps to reproduce the behavior:

  1. Go to 'https://mydomain.org/petition/register/'
  2. create a user and connect to this user to create new petition

Expected behavior The url "https://mydomain.org/petition/register/" would show an error message if ALLOW_REGISTER is set to false

Desktop (please complete the following information):

fallen commented 4 years ago

You're absolutely right! Thanks for the report :) Will fix ASAP!