fix: missing properties of default site created by db script

This commit is contained in:
Tobi Schäfer 2020-05-23 10:32:02 +02:00
parent 3e50f2a636
commit 707fd6391f

View file

@ -114,6 +114,7 @@ Root.prototype.getPermission = function(action) {
Root.prototype.main_action = function() {
if (this.users.size() < 1) {
this.update(this); // Be sure all site properties are up-to-date
this.title = 'Antville';
this.created = this.modified = new Date;
this.replyTo = 'root@localhost';