mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Fix typo in session check (sesion -> session)
(cherry picked from commit 4332affba6
)
This commit is contained in:
parent
2249b9ae19
commit
2c8769a6fd
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue