ExCiteS / geokey

Platform for participatory mapping
http://geokey.org.uk
Other
55 stars 29 forks source link

[Bugfix] Make sure users are deactivated when not have not confirmed email address #433

Closed josokinas closed 5 years ago

josokinas commented 5 years ago

Root cause

v0.26.0 introduced a change when email confirmations were not stored in the database anymore by default, however this was not reflected in the code. Because the command for checking whether user have confirmed their email address relied on EmailConfirmation model instance to be present - the command was working no more.

Solution

Note

Superusers will now be completely excluded from the command execution, and will not require their email address to be confirmed within 24 hours.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.02%) to 90.578% when pulling a3efe2e6514ff9072388a6908d3ab239348f3723 on bugfix/make-sure-users-are-deactivated-when-not-confirmed into c70be3f50db4ede0f4dbf340b9b7409f0aeeb95e on master.