* Change: #621 登録時間帯制限で、制限時間中は登録を禁止ではなく承認制にする * 管理画面のUIを改善 * Fix test * Fix lint
This commit is contained in:
parent
4119b8713e
commit
941705be62
13 changed files with 52 additions and 33 deletions
|
@ -474,7 +474,7 @@ class User < ApplicationRecord
|
|||
end
|
||||
|
||||
def open_registrations?
|
||||
Setting.registrations_mode == 'open'
|
||||
Setting.registrations_mode == 'open' && registrations_in_time?
|
||||
end
|
||||
|
||||
def external?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue