-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improved persistent cookies #8
Conversation
Thanks! Just as an information for you: We're currently in the hard feature freeze for 4.5 which will last until the release of 4.5. This means that we're currently not allowed to commit new features. I'm sure someone will take a look at it, after the release of 4.5 :-) |
added methods valueExists(), setMultiValue(), deleteValues() to preferences lib added new column "created" to preferences table raised version number by one to trigger database schema update modified token generation from time to random number from now on cookies are regenerated on each login each user can have more than one persistent login token persistent login cookies will be deleted after 90 days
switched from mt_rand() to internal method OC_Util::generate_random_bytes()
@visit1985: I'll close this merge request and kindly ask you to resubmit this pull request on basis of the current master. THX a lot |
add link to promote page
Each user can have more than one persistent login token which enables persistent sessions in multiple browsers.
Tokens and cookies are regenerated on each login.
Tokens will be deleted if they aren't used for 90 days.
I've modified token generation from time to random number to make it more secure.
Regards,
Michael