diff --git a/core/lib/Core/App.class.php b/core/lib/Core/App.class.php
index 17b3361..0beba72 100644
--- a/core/lib/Core/App.class.php
+++ b/core/lib/Core/App.class.php
@@ -54,7 +54,7 @@
'userDataTable' => User::isAuthorized() ? str_replace(
'
getAllUserData(), 'Информация о пользователе')
+ SystemFunctions::arrayToTable($USER->getAllUserData(), 'Информация о текущем пользователе')
) : '',
'statString' => 'Использовано ОЗУ: '
. round(memory_get_usage() / 1024 / 1024, 2) . ' МБ / БД: '
diff --git a/db/migrations/20230405185037_users.php b/db/migrations/20230405185037_users.php
index 263d011..176e934 100644
--- a/db/migrations/20230405185037_users.php
+++ b/db/migrations/20230405185037_users.php
@@ -42,7 +42,7 @@ final class Users extends AbstractMigration
->addColumn('token', 'string', ['limit' => 255, 'default' => null])
->addColumn('last_active', 'string', ['limit' => 100, 'default' => null])
->addColumn('date_created', 'datetime', ['default' => 'CURRENT_TIMESTAMP'])
- ->addColumn('date_updated', 'datetime', ['null' => true, 'default' => null])
+ ->addColumn('date_updated', 'datetime', ['null' => true, 'default' => null, 'update' => 'CURRENT_TIMESTAMP'])
->addIndex(['login'])
->addIndex(['token'])
->addIndex(['email'])
diff --git a/db/migrations/20230405185040_roles.php b/db/migrations/20230405185040_roles.php
index c76c1d8..3d98daa 100644
--- a/db/migrations/20230405185040_roles.php
+++ b/db/migrations/20230405185040_roles.php
@@ -48,7 +48,7 @@ final class Roles extends AbstractMigration
$table->addColumn('name', 'text', ['default' => null])
->addColumn('description', 'text', ['default' => null])
->addColumn('date_created', 'datetime', ['default' => 'CURRENT_TIMESTAMP'])
- ->addColumn('date_updated', 'datetime', ['null' => true, 'default' => null])
+ ->addColumn('date_updated', 'datetime', ['null' => true, 'default' => null, 'update' => 'CURRENT_TIMESTAMP'])
->create();
$table->insert($this->data);
$table->save();
diff --git a/db/migrations/20230405185104_threads.php b/db/migrations/20230405185104_threads.php
index 4d3a330..6406c38 100644
--- a/db/migrations/20230405185104_threads.php
+++ b/db/migrations/20230405185104_threads.php
@@ -20,7 +20,7 @@ final class Threads extends AbstractMigration
->addColumn('attempts', 'integer', ['default' => 0])
->addColumn('attempts_limit', 'integer', ['default' => 1])
->addColumn('date_created', 'datetime', ['default' => 'CURRENT_TIMESTAMP'])
- ->addColumn('date_updated', 'datetime', ['null' => true, 'default' => null])
+ ->addColumn('date_updated', 'datetime', ['null' => true, 'default' => null, 'update' => 'CURRENT_TIMESTAMP'])
->addColumn('class', 'string', ['limit' => 255, 'default' => null])
->addColumn('method', 'string', ['limit' => 255, 'default' => null])
->addColumn('params', 'text', ['default' => null])
diff --git a/db/migrations/20230405185109_threads_history.php b/db/migrations/20230405185109_threads_history.php
index ae95ccc..95e978a 100644
--- a/db/migrations/20230405185109_threads_history.php
+++ b/db/migrations/20230405185109_threads_history.php
@@ -19,7 +19,7 @@ final class ThreadsHistory extends AbstractMigration
->addColumn('attempts', 'integer', ['default' => 0])
->addColumn('attempts_limit', 'integer', ['default' => 1])
->addColumn('date_created', 'datetime', ['default' => 'CURRENT_TIMESTAMP'])
- ->addColumn('date_updated', 'datetime', ['null' => true, 'default' => null])
+ ->addColumn('date_updated', 'datetime', ['null' => true, 'default' => null, 'update' => 'CURRENT_TIMESTAMP'])
->addColumn('class', 'string', ['limit' => 255, 'default' => null])
->addColumn('method', 'string', ['limit' => 255, 'default' => null])
->addColumn('params', 'text', ['default' => null])
diff --git a/templates/index.twig b/templates/index.twig
index b0e524f..226f09b 100644
--- a/templates/index.twig
+++ b/templates/index.twig
@@ -51,10 +51,10 @@
{% if isAuthorized %}
+
Добро пожаловать!
{{ userDataTable |raw }}
{% else %}
Вы не авторизованы :(
-
{% endif %}