Skip to content
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

Closed
wants to merge 2 commits into from
Closed

improved persistent cookies #8

wants to merge 2 commits into from

Commits on Oct 6, 2012

  1. improved persistent cookies

    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
    Michael Göhler committed Oct 6, 2012
    Configuration menu
    Copy the full SHA
    e21823d View commit details
    Browse the repository at this point in the history
  2. improved login token generation

    switched from mt_rand() to internal method OC_Util::generate_random_bytes()
    Michael Göhler committed Oct 6, 2012
    Configuration menu
    Copy the full SHA
    39bd3f4 View commit details
    Browse the repository at this point in the history