diff --git a/client/views/windows/sign_in.tpl b/client/views/windows/sign_in.tpl
index 81f7f0cb..07964f9d 100644
--- a/client/views/windows/sign_in.tpl
+++ b/client/views/windows/sign_in.tpl
@@ -3,11 +3,11 @@
-
+
-
+
{{> ../reveal-password}}
diff --git a/src/server.js b/src/server.js
index ee6e4981..5b502e03 100644
--- a/src/server.js
+++ b/src/server.js
@@ -245,7 +245,7 @@ function index(req, res, next) {
const policies = [
"default-src 'none'", // default to nothing
- "form-action 'none'", // no default-src fallback
+ "form-action 'self'", // 'self' to fix saving passwords in Firefox, even though login is handled in javascript
"connect-src 'self' ws: wss:", // allow self for polling; websockets
"style-src 'self' https: 'unsafe-inline'", // allow inline due to use in irc hex colors
"script-src 'self'", // javascript