Fix typo in session check (sesion -> session)
parent
02757079c0
commit
4332affba6
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue