From 4332affba6264cc886878b36873266f9e1dbc457 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sat, 26 Sep 2020 14:04:17 -0400 Subject: [PATCH] Fix typo in session check (sesion -> session) --- src/node/db/SecurityManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/db/SecurityManager.js b/src/node/db/SecurityManager.js index 19fc23c26..ff28ff8fe 100644 --- a/src/node/db/SecurityManager.js +++ b/src/node/db/SecurityManager.js @@ -129,7 +129,7 @@ exports.checkAccess = async function(padID, sessionCookie, token, password, user return DENY; } - const passwordExempt = settings.sessionNoPassword && sesionAuthorID != null; + const passwordExempt = settings.sessionNoPassword && sessionAuthorID != null; const requirePassword = pad.isPasswordProtected() && !passwordExempt; if (requirePassword) { if (password == null) {