foundation icon indicating copy to clipboard operation
foundation copied to clipboard

[RFC] Refresh `remember_token` when the user reset password or change their password.

Open crynobone opened this issue 12 years ago • 6 comments

With the recent security changes, I would like to bring this up to the table.

crynobone avatar Apr 23 '14 02:04 crynobone

+1 vote for this... then should also provide a function to manually reset the rememer_token

ahmadshah avatar Apr 23 '14 06:04 ahmadshah

+1 from me as well...

itsaafrin avatar Apr 23 '14 11:04 itsaafrin

The flaw with this is that if anyone hijack your application, all your login will be lost (unless we have orchestra/warden implemented nicely).

crynobone avatar Apr 24 '14 02:04 crynobone

What happen when a user logging from multiple devices? Will the remember_token be refreshed?

ahmadshah avatar Apr 24 '14 06:04 ahmadshah

On login the remember_token is not refreshed, only if the user log out from one the device it would reset the remember token value and revoke all other devices

crynobone avatar Apr 24 '14 07:04 crynobone

Just thinking that orchestra/warden should alert the users when their remember_token is refreshed.

ahmadshah avatar Apr 24 '14 08:04 ahmadshah