Skip to content

Commit

Permalink
extend comment to explain better what happens
Browse files Browse the repository at this point in the history
  • Loading branch information
fosterfarrell9 committed Nov 11, 2023
1 parent 32280c1 commit 6d578ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,10 @@ def can_update_personell?(lecture)
# 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
# We use the Devise::Trackable module to track sign-in count and current/last
# sign-in timestamp. However, we don't want to track IP address, but Trackable
# tries to, so we have to manually override the accessor methods so they do
# nothing.

def current_sign_in_ip
end
Expand Down

0 comments on commit 6d578ae

Please sign in to comment.