Scrollreveal+cat+datenews

This commit is contained in:
2019-01-07 11:43:39 +01:00
parent e4cac3d01e
commit 762a1ad170
3158 changed files with 140699 additions and 73915 deletions
+4 -4
View File
@@ -131,9 +131,9 @@ class NewUserCommand extends ConsoleCommand
return $value;
});
$username = $helper->ask($this->input, $this->output, $question);
$data['username'] = $helper->ask($this->input, $this->output, $question);
} else {
$username = $this->options['user'];
$data['username'] = $this->options['user'];
}
@@ -227,7 +227,7 @@ class NewUserCommand extends ConsoleCommand
}
// Lowercase the username for the filename
$username = strtolower($username);
$username = mb_strtolower($data['username']);
/** @var UniformResourceLocator $locator */
$locator = Grav::instance()['locator'];
@@ -281,4 +281,4 @@ class NewUserCommand extends ConsoleCommand
$question->setHiddenFallback(true);
return $helper->ask($this->input, $this->output, $question);
}
}
}