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

Having trouble to set Basic Auth account in 2.1 #66

Open
liyzcj opened this issue Aug 7, 2019 · 1 comment
Open

Having trouble to set Basic Auth account in 2.1 #66

liyzcj opened this issue Aug 7, 2019 · 1 comment

Comments

@liyzcj
Copy link

liyzcj commented Aug 7, 2019

Hi, Thank you for your work Arlen, can you tell me how to set up username and password in new 2.1 version ?

@Arlen22
Copy link
Owner

Arlen22 commented Aug 26, 2019

For now, look for this line at the top of preflighter.js and put it inside the quotation marks. That's all you need to do. Both of them need to be there. If you don't mind WebSockets not being password protected, you can set ALLOW_UNSECURED_WEBSOCKETS to true.

The username is not passed on to the data folder, but I just fixed that in my local repo and I will push it to master later today once I test everything.

const USERNAME = "";
const PASSWORD = "";
const ALLOW_UNSECURED_WEBSOCKETS = false;

@Arlen22 Arlen22 closed this as completed Aug 26, 2019
@Arlen22 Arlen22 reopened this Aug 26, 2019
@Arlen22 Arlen22 pinned this issue Aug 26, 2019
@Arlen22 Arlen22 changed the title Having trouble to set account of new schema 2.1 Having trouble to set Basic Auth account in 2.1 Aug 26, 2019
@Arlen22 Arlen22 unpinned this issue Dec 9, 2019
@Arlen22 Arlen22 pinned this issue Dec 19, 2019
@Arlen22 Arlen22 unpinned this issue Nov 13, 2022
@Arlen22 Arlen22 pinned this issue Nov 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants