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

Add management command to increase an ODKTokens lifetime #1847

Merged
merged 2 commits into from
Jul 30, 2020

Commits on Jul 30, 2020

  1. Add 'expires' field and '_post_save_set_expiry_date' function

    The 'expires' field will enable one to increment / decrement the expiry
    date of an ODKToken easily. Included the '_post_save_set_expiry_date'
    function to set the 'expires' field value post_save in order to have
    access to the 'created' field value
    
    - Update 'test_fails_authentication_past_odk_token_expiry' test
    DavisRayM committed Jul 30, 2020
    Configuration menu
    Copy the full SHA
    6d03764 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4d3bd89 View commit details
    Browse the repository at this point in the history