Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offset is out of bounds with an empty htpasswd file #2

Closed
vStone opened this issue Sep 26, 2014 · 1 comment
Closed

Offset is out of bounds with an empty htpasswd file #2

vStone opened this issue Sep 26, 2014 · 1 comment

Comments

@vStone
Copy link
Contributor

vStone commented Sep 26, 2014

touch ./htpasswd

Login:

fatal --- uncaught exception, please report this
Error: Offset is out of bounds
    at Object.fs.read (fs.js:468:11)
    at /data/apps/node/sinopia/node_modules/sinopia-htpasswd/utils.js:55:10
    at Object.oncomplete (fs.js:107:15)
echo '#foobar' > ./htpasswd

Login:

 http  <-- 409, user: undefined, req: 'PUT /-/user/org.couchdb.user:admin/-rev/undefined', error: bad username/password, access denied
vStone added a commit to vStone/sinopia-htpasswd that referenced this issue Sep 30, 2014
@vStone
Copy link
Contributor Author

vStone commented Sep 30, 2014

vStone added a commit to vStone/sinopia-htpasswd that referenced this issue Sep 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant