mirror of
https://github.com/flextype/flextype.git
synced 2025-08-23 05:16:03 +02:00
@@ -200,7 +200,7 @@ class EntriesController extends Controller
|
||||
$data_from_post['fieldset'] = $data['fieldset'];
|
||||
$data_from_post['published_at'] = time();
|
||||
$data_from_post['created_at'] = time();
|
||||
$data_from_post['uuid'] = Uuid::uuid4();
|
||||
$data_from_post['uuid'] = Uuid::uuid4()->toString();
|
||||
|
||||
// Predefine data values based on selected fieldset
|
||||
foreach ($fieldset['sections'] as $key => $section) {
|
||||
|
@@ -131,7 +131,7 @@ class UsersController extends Controller
|
||||
'email' => $data['email'],
|
||||
'role' => 'admin',
|
||||
'state' => 'enabled',
|
||||
'uuid' => Uuid::uuid4(),
|
||||
'uuid' => Uuid::uuid4()->toString(),
|
||||
])
|
||||
)) {
|
||||
return $response->withRedirect($this->router->pathFor('admin.users.login'));
|
||||
|
Reference in New Issue
Block a user