SQLite добавлен режим работы
This commit is contained in:
1 parent
1763fd2b72
commit
a6d916c4ae
3 files changed
+46
-24
No files matched your search
+1
-1
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user