changed default localStorage Key

This commit is contained in:
Cássio Zen 2016-12-23 17:30:27 -02:00
parent f63e3e6150
commit ff6bfe3789
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "netlify-cms", "name": "netlify-cms",
"version": "0.1.14", "version": "0.1.15",
"description": "Netlify CMS lets content editors work on structured content stored in git", "description": "Netlify CMS lets content editors work on structured content stored in git",
"main": "dist/cms.js", "main": "dist/cms.js",
"scripts": { "scripts": {

View File

@ -7,7 +7,7 @@ import { selectListMethod, selectEntrySlug, selectEntryPath, selectAllowNewEntri
import { createEntry } from "../valueObjects/Entry"; import { createEntry } from "../valueObjects/Entry";
class LocalStorageAuthStore { class LocalStorageAuthStore {
storageKey = "nf-cms-user"; storageKey = "netlify-cms-user";
retrieve() { retrieve() {
const data = window.localStorage.getItem(this.storageKey); const data = window.localStorage.getItem(this.storageKey);