0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Merge pull request #3994 from halfdan/3982-use-auth-scope

Add authentication scope.
This commit is contained in:
Sebastian Gierlinger 2014-09-11 11:00:06 +02:00
commit aceb85d2c2

View file

@ -29,6 +29,9 @@ var AuthenticationInitializer = {
return this._super(url, data);
}
});
SimpleAuth.Stores.LocalStorage.reopen({
key: 'ghost' + (Ghost.subdir.indexOf('/') === 0 ? '-' + Ghost.subdir.substr(1) : '') + ':session'
});
}
};