mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 09:26:14 -04: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…
Add table
Add a link
Reference in a new issue