Closed
Description
code-server
version: 22b485a- OS Version: macOS 10.14.4
Description
When trying to sign in with the service-worker enabled you just get the error "Password is incorrect!".
Cause
When using the service worker we are caching the index.html file (or equivalent). When entering the password, the page gets reloaded, but the cached version is pulled from the service-worker.
Steps to Reproduce
- Run code-server with valid, signed TLS certs and use https.
- Open code-server.
- Enter the password.
- Submit the password.
- Failure
Fix
Stop caching the index.html file.