Merge branch 'main' into glitch-soc/merge-upstream

This commit is contained in:
Claire
2021-01-21 16:51:12 +01:00
12 changed files with 84 additions and 84 deletions

View File

@ -152,7 +152,7 @@ class User < ApplicationRecord
def confirm
new_user = !confirmed?
self.approved = true if open_registrations?
self.approved = true if open_registrations? && !sign_up_from_ip_requires_approval?
super