code-server icon indicating copy to clipboard operation
code-server copied to clipboard

Hide password info on login screen

Open bilogic opened this issue 3 years ago • 2 comments

What is your suggestion?

Please log in below. Check the config file at /path/to/config.yaml for the password.

The login screen exposes the path to the config file.

Please log in below. Password was set from $PASSWORD.

This does not help end users that were not involved in setting up the password.

Why do you want this feature?

After the system is setup properly, this info is no longer helpful, there should be a way to hide this to prevent unnecessary information leaks.

Are there any workarounds to get this functionality today?

None.

Are you interested in submitting a PR for this?

Yes, but I'm not confident in javascript.

bilogic avatar Dec 09 '22 04:12 bilogic

You can update it at: /usr/lib/code-server/src/browser/pages/login.html

lvntruong avatar Dec 20 '22 05:12 lvntruong

I am second for this feature

thanhle7 avatar May 10 '23 17:05 thanhle7