Merge branch 'main' into glitch-soc/merge-upstream
This commit is contained in:
commit
f90fa11db5
12 changed files with 84 additions and 84 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue