Fix typo in session check (sesion -> session)

(cherry picked from commit 4332affba6)
pull/4459/head
Richard Hansen 2020-09-26 14:04:17 -04:00
parent 2249b9ae19
commit 2c8769a6fd
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,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) {