Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Token value < 60 breaks itokens #73

@ctrochalakis

Description

@ctrochalakis

The itoken expiration time is set by the following code:
self.itoken_expires = time() + self.token_life - 60

That effectively means that setting token_life to a value less than60 secs results in a token with an expiration date set in the past.

Is there a reason to subtract 60 secs from the token_life value? Perhaps it should be dropped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions