a guest Mar 13th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- def handle_remember_cookie!(new_cookie_flag)
- return unless @current_user
- when valid_remember_cookie?
- @current_user.refresh_token # keeping same expiry date
- when new_cookie_flag
RAW Paste Data