Commit 923008ab authored by Sebastien's avatar Sebastien

Disable account creation on local install

parent 5d0935fe
......@@ -29,6 +29,16 @@ sub AskAccountForm
my ($o_webparam) = @_;
if ($O_CONF->Get('mode') eq 'local')
print <<END;
<div class="container-fluid">
<div class="alert alert-danger">Account creation is not available for local install</div>
<div class="alert alert-success">Use guest/guest credentials to log into family-companion</div>
my $captcha = __GenerateKey();
my $md5_captcha = md5_hex($captcha);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment