SQLite добавлен режим работы

This commit is contained in:
rsgrinko committed 2022-07-08 18:00:59 +03:00
1 parent 1763fd2b72
commit a6d916c4ae
3 files changed
+46 -24

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ if (User::isAuthorized()) {
}
if(empty($arErrors)) {
$userId = User::create($_REQUEST['login'], $_REQUEST['pass'], $_REQUEST['email'], $_REQUEST['name'], '/uploads/users/system.png');
$userId = User::create($_REQUEST['login'], $_REQUEST['pass'], $_REQUEST['email'], $_REQUEST['name']);
User::authorize($userId);
header('Location: index.php');