mirror of
https://github.com/heartcombo/devise.git
synced 2026-01-22 21:28:01 -05:00
The forgetable hook will delete cookies based on the :scope in an options hash but it was overwriting the options and setting them to either an empty hash or a hash with a single :domain key. Because the :scope was lost, the hook was trying to delete the 'remember__token' instead of the more typical 'remember_user_token' cookie.