Skip to content

armgit / ODS

Public Imported from GitHub
0

ODS V3 Pre-Release: Public testing and refinement ahead of the official V3 launch. Turn your PC, Mac, or Linux box into a private AI server.

284 B
Raw Blame
<?php
$length = strlen(getenv('KANBOARD_INITIAL_PASSWORD') ?: '');
if ($length < 12 || $length > 72 || strpos(getenv('KANBOARD_INITIAL_PASSWORD'), "\0") !== false) {
    fwrite(STDERR, "KANBOARD_INITIAL_PASSWORD must contain 12–72 UTF-8 bytes and no null bytes.\n");
    exit(1);
}