mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 18:24:52 -06:00
remove block_login? check from current user
This commit is contained in:
parent
67c10a7eab
commit
427487783b
@ -28,7 +28,6 @@ module CurrentUser
|
||||
|
||||
def current_user
|
||||
c = current_user_provider.current_user
|
||||
ScreenedIpAddress.block_login?(c, request.remote_ip) ? nil : c
|
||||
end
|
||||
|
||||
private
|
||||
|
Loading…
Reference in New Issue
Block a user