mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Allow overwriting ~/.meteorsession file with env var.
Useful for tests.
This commit is contained in:
@@ -12,7 +12,8 @@ var url = require('url');
|
||||
var auth = exports;
|
||||
|
||||
var getSessionFilePath = function () {
|
||||
return path.join(process.env.HOME, '.meteorsession');
|
||||
return process.env.SESSION_FILE_PATH ||
|
||||
path.join(process.env.HOME, '.meteorsession');
|
||||
};
|
||||
|
||||
var readSessionData = function () {
|
||||
|
||||
Reference in New Issue
Block a user