mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
Fix typo in session check (sesion -> session)
This commit is contained in:
parent
02757079c0
commit
4332affba6
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ exports.checkAccess = async function(padID, sessionCookie, token, password, user
|
||||||
return DENY;
|
return DENY;
|
||||||
}
|
}
|
||||||
|
|
||||||
const passwordExempt = settings.sessionNoPassword && sesionAuthorID != null;
|
const passwordExempt = settings.sessionNoPassword && sessionAuthorID != null;
|
||||||
const requirePassword = pad.isPasswordProtected() && !passwordExempt;
|
const requirePassword = pad.isPasswordProtected() && !passwordExempt;
|
||||||
if (requirePassword) {
|
if (requirePassword) {
|
||||||
if (password == null) {
|
if (password == null) {
|
||||||
|
|
Loading…
Reference in a new issue