Skip to content

Commit

Permalink
allow to remove page password fix #359
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-peugnet committed Nov 6, 2023
1 parent 3d9ccf8 commit 203560f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/class/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ public function setrefresh($refresh)

public function setpassword($password)
{
if (is_string($password) && strlen($password) > 0 && strlen($password) < 64) {
if (is_string($password) && strlen($password) < 64) {
$this->password = $password;
}
}
Expand Down

0 comments on commit 203560f

Please sign in to comment.