Skip to content

Commit

Permalink
disable IP adress logging in trackable module of devise
Browse files Browse the repository at this point in the history
  • Loading branch information
fosterfarrell9 committed Nov 1, 2023
1 parent 9de6c35 commit 32280c1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,19 @@ def can_update_personell?(lecture)
return false
end

# make sure that no IP adress data are stored via the :trackable module
# of Devise
# see https://github.com/heartcombo/devise/issues/4849#issuecomment-534733131

def current_sign_in_ip
end

def last_sign_in_ip=(_ip)
end

def current_sign_in_ip=(_ip)
end

private

def set_defaults
Expand Down

0 comments on commit 32280c1

Please sign in to comment.