FEATURE: new 'maximum new user accounts per registration IP' site setting

This commit is contained in:
Régis Hanol
2014-11-17 12:04:29 +01:00
parent 78f6cea16c
commit 7641d88224
9 changed files with 67 additions and 18 deletions

View File

@ -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