Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Merge pull request #100 from braydonf/ttl
Browse files Browse the repository at this point in the history
Bump token TTL to 1 hour
  • Loading branch information
braydonf committed May 17, 2017
2 parents 4275a26 + 2cdaf15 commit 2067f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/models/token.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const crypto = require('crypto');
const mongoose = require('mongoose');
const ms = require('ms');
const SchemaOptions = require('../options');
const TOKEN_TTL = ms('5m');
const TOKEN_TTL = ms('1h');

/**
* Represents a token (for pulling/pushing files)
Expand Down

0 comments on commit 2067f47

Please sign in to comment.