{"_id":"apostrophe-demo-login","_rev":"46-a6fb4fa1c2260e216f5bf6792851ff18","name":"apostrophe-demo-login","dist-tags":{"latest":"0.5.1"},"versions":{"0.5.0":{"name":"apostrophe-demo-login","version":"0.5.0","keywords":["apostrophe"],"author":{"name":"P'unk Avenue LLC"},"license":"MIT","_id":"apostrophe-demo-login@0.5.0","maintainers":[{"name":"boutell","email":"boutell@boutell.com"}],"homepage":"https://github.com/punkave/apostrophe-demo-login","bugs":{"url":"https://github.com/punkave/apostrophe-demo-login/issues"},"dist":{"shasum":"27b1b0978dca2616da3881f6503a790f304d61b5","tarball":"https://registry.npmjs.org/apostrophe-demo-login/-/apostrophe-demo-login-0.5.0.tgz","integrity":"sha512-SW0SNKCXrOeFnDaNV163bZkuTeOYEbB6iNEhOEj7bHAnifr4FUP0YZkLMmJ/nuMOikMEQs6goyTnFt2LsfAUcA==","signatures":[{"sig":"MEUCIQD8btyOdEuCfvCsKsqe3z84JU0cmCYXTmSbmSaT9yJBaAIgbsbAQS6nKBnyA4meOvsXd8JNXYcYnvmnzT/KQWrcwTM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"27b1b0978dca2616da3881f6503a790f304d61b5","gitHead":"eadea143ea9e8ef452e5752e6e6355e349d546fe","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"boutell","email":"boutell@boutell.com"},"repository":{"url":"https://github.com/punkave/apostrophe-demo-login","type":"git"},"_npmVersion":"1.4.24","description":"Force login as \"admin\" at the start of a new browser session. Only works if the password is still set to \"demo\", but you should disable this module once you fork our sandbox anyway.","directories":{}},"0.5.1":{"name":"apostrophe-demo-login","version":"0.5.1","keywords":["apostrophe"],"author":{"name":"P'unk Avenue LLC"},"license":"MIT","_id":"apostrophe-demo-login@0.5.1","maintainers":[{"name":"boutell","email":"boutell@boutell.com"}],"homepage":"https://github.com/punkave/apostrophe-demo-login","bugs":{"url":"https://github.com/punkave/apostrophe-demo-login/issues"},"dist":{"shasum":"bbf2fbbd9d75217e47d4af867ff3ce9afdef4345","tarball":"https://registry.npmjs.org/apostrophe-demo-login/-/apostrophe-demo-login-0.5.1.tgz","integrity":"sha512-hR3OVY/7B5oMnEdFrthfZ7P1uikaM9FvQUXXMrUcjgKL7UMFMFf7rl4x3PDHyu2ouonzY8E6HElruVU+5RaxaA==","signatures":[{"sig":"MEUCIQD/lerr5FQIlDDZrkhsoHkBTeEdDGAzMQmHf2Hb9j2ecwIgLf19ADJxViYqoKdsViU+axa4nbTeRcPY7nBu6irgd7w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"bbf2fbbd9d75217e47d4af867ff3ce9afdef4345","gitHead":"fe9bb1ceb08804bd0c95a095ab4b2a72b622f516","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"boutell","email":"boutell@boutell.com"},"repository":{"url":"https://github.com/punkave/apostrophe-demo-login","type":"git"},"_npmVersion":"1.4.24","description":"Force login as \"admin\" at the start of a new browser session. Only works if the password is still set to \"demo\", but you should disable this module once you fork our sandbox anyway.","directories":{}}},"time":{"created":"2014-12-04T17:20:36.221Z","modified":"2026-01-26T19:09:31.865Z","0.5.0":"2014-12-04T17:20:36.221Z","0.5.1":"2014-12-14T21:21:43.253Z"},"bugs":{"url":"https://github.com/punkave/apostrophe-demo-login/issues"},"author":{"name":"P'unk Avenue LLC"},"license":"MIT","homepage":"https://github.com/punkave/apostrophe-demo-login","keywords":["apostrophe"],"repository":{"url":"https://github.com/punkave/apostrophe-demo-login","type":"git"},"description":"Force login as \"admin\" at the start of a new browser session. Only works if the password is still set to \"demo\", but you should disable this module once you fork our sandbox anyway.","maintainers":[{"email":"alex@apostrophecms.com","name":"alexgilbert"},{"email":"tom@apostrophecms.com","name":"boutell"},{"email":"stuart+npm@apostrophecms.com","name":"romanek"},{"email":"robert.means1969+apostrophecms@gmail.com","name":"bodonkey"},{"email":"kerry@punkave.com","name":"colpanik"},{"email":"stuart@punkave.com","name":"stuartromanek"},{"email":"mcoppola832@gmail.com","name":"mcoppola"},{"email":"jimmy@punkave.com","name":"jimmyh"},{"email":"austin.starin@gmail.com","name":"austinstarin"},{"email":"grdunn@gmail.com","name":"grdunn"},{"email":"bgantick@gmail.com","name":"bgantick"},{"email":"matthew.mance@gmail.com","name":"mtthwmnc"}],"readme":"# apostrophe-demo-login\n\nThis module automatically logs you in as the \"admin\" user, with the password \"demo\".\n\nObviously, this module only makes sense to include in a project that is a canned demo of Apostrophe, like the [Apostrophe sandbox demo](http://demo.apostrophenow.com).\n\nThe automatic login happens only if it has not been done already in the current browser session. That way, visitors can still choose to log out and log in as another user, in order to experience multiuser features of Apostrophe.\n\nNote that if the admin password has been changed in `app.js` this module will not work. Nor should it! Why in the world are you using this module in a real project?\n  \n## Configuration\n\n```javascript\n// In app.js, when configuring apostrophe-site\nmodules: {\n  // Other modules, then...\n  apostrophe-demo-login: {\n    enabled: true\n  }\n}\n```\n\nNote that you must explicitly set the `enabled` option to `true` to prevent against accidental activation. We suggest that you override this setting to `true` via your `data/local.js` file rather than ever doing that in `app.js`.\n\n## Changelog\n\n0.5.1: must be explicitly enabled with the `enabled` option.\n","readmeFilename":"README.md"}