* dont use email blacklist ban
This commit is contained in:
parent
54cbfc69f0
commit
f6652fa180
|
|
@ -163,10 +163,11 @@ module SessionsHelper
|
|||
return
|
||||
end
|
||||
|
||||
if EmailBlacklist.banned(current_user)
|
||||
Stats.write('web.blacklist.user', {value: 1, user_id: current_user.id})
|
||||
render :json => { :message => "User blacklisted via email"}, :status => 403
|
||||
end
|
||||
# not yet; we can track the thief by not outright banning
|
||||
#if EmailBlacklist.banned(current_user)
|
||||
# Stats.write('web.blacklist.user', {value: 1, user_id: current_user.id})
|
||||
# render :json => { :message => "User blacklisted via email"}, :status => 403
|
||||
#end
|
||||
|
||||
if UserBlacklist.banned(current_user)
|
||||
Stats.write('web.blacklist.user', {value: 1, user_id: current_user.id})
|
||||
|
|
|
|||
Loading…
Reference in New Issue