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

Admin username and password not set in settings.json #3442

Closed
tobit6795 opened this issue Aug 7, 2018 · 7 comments
Closed

Admin username and password not set in settings.json #3442

tobit6795 opened this issue Aug 7, 2018 · 7 comments

Comments

@tobit6795
Copy link

etherpad shows the following warning:

Admin username and password not set in settings.json. To access admin please uncomment and edit ‘users’ in settings.json

despite the parameter being setup correctly:

 /*
  "users": {
    "admin": {
      "password": "passwd1",
      "is_admin": true
    },
    "user": {
      "password": "passwd2",
      "is_admin": false
    }
  },
  */
@Wikinaut
Copy link
Contributor

Wikinaut commented Aug 7, 2018

@tobit6795 remove the comment tokens ( /* ... */ )

@tobit6795
Copy link
Author

ouch...

@Wikinaut
Copy link
Contributor

Wikinaut commented Aug 7, 2018

then pls. close

@Wikinaut
Copy link
Contributor

Wikinaut commented Aug 7, 2018

By the way, better store hashes instead of plain text passwords, see https://www.npmjs.com/package/ep_hash_auth

@tobit6795
Copy link
Author

Thanks, I just looked for sth like that

@muxator
Copy link
Contributor

muxator commented Aug 8, 2018

This should be probably be a standard part of a production install anyways.
If the plugin is compatible, I would even make it a suggested option in the install documentation.

@Wikinaut
Copy link
Contributor

Wikinaut commented Aug 8, 2018

@muxator I fully support your proposal.

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

3 participants