1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-27 04:35:25 +00:00

Comment on hash(password)

This commit is contained in:
Anmol Sethi 2020-05-11 21:23:50 -04:00
parent d6ea9d78f6
commit 1e432b25ea
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB

View File

@ -47,6 +47,7 @@ const main = async (cliArgs: Args): Promise<void> => {
auth: args.auth, auth: args.auth,
commit, commit,
host: host, host: host,
// The hash does not add any actual security but we do it for obfuscation purposes.
password: password ? hash(password) : undefined, password: password ? hash(password) : undefined,
port: port, port: port,
proxyDomains: args["proxy-domain"], proxyDomains: args["proxy-domain"],