mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 14:08:32 +08:00
FEATURE: new 'maximum new user accounts per registration IP' site setting
This commit is contained in:
@ -227,8 +227,7 @@ class UsersController < ApplicationController
|
||||
authentication = UserAuthenticator.new(user, session)
|
||||
|
||||
if !authentication.has_authenticator? && !SiteSetting.enable_local_logins
|
||||
render nothing: true, status: 500
|
||||
return
|
||||
return render nothing: true, status: 500
|
||||
end
|
||||
|
||||
authentication.start
|
||||
|
Reference in New Issue
Block a user