diff options
| author | Jeffrey Warren <jtwarren@alum.mit.edu> | 2015-12-10 14:42:41 -0500 |
|---|---|---|
| committer | Jeffrey Warren <jtwarren@alum.mit.edu> | 2015-12-10 14:42:41 -0500 |
| commit | 7564da46f23bb0075390e44b5fbedcdc8a0c4dc5 (patch) | |
| tree | 2f7dd01147e6aac87ba144fcd50e0a841edb9008 /activemodel/lib/active_model.rb | |
| parent | 2747e84be2f4a606e3178bbcc8ac95765deb0405 (diff) | |
| download | rails-7564da46f23bb0075390e44b5fbedcdc8a0c4dc5.tar.gz rails-7564da46f23bb0075390e44b5fbedcdc8a0c4dc5.tar.bz2 rails-7564da46f23bb0075390e44b5fbedcdc8a0c4dc5.zip | |
Correct the time comparison for remember_me token
Corrects the time comparison to be `Time.now < time` which allows the user to
be set only when the current time is less than the 2 week window given in the
example.
Diffstat (limited to 'activemodel/lib/active_model.rb')
0 files changed, 0 insertions, 0 deletions
