Arreglado bug añadir usuarios con email repetido

This commit is contained in:
imnavajas
2024-11-18 22:00:37 +01:00
parent 006a9a1413
commit cb2ca522c6
12 changed files with 183 additions and 185 deletions

View File

@ -245,7 +245,6 @@ class Auth extends ShieldAuth
'required',
'max_length[254]',
'valid_email',
'is_unique[auth_identities.secret]',
],
];

View File

@ -97,7 +97,6 @@ $routes->group('configuracion', ['namespace' => 'App\Controllers\Configuracion']
$routes->group('users', ['namespace' => 'App\Controllers\Configuracion'], function ($routes) {
$routes->get('', 'Users::index', ['as' => 'userList']);
$routes->get('index', 'Users::index', ['as' => 'userIndex']);
$routes->get('list', 'Users::index', ['as' => 'userList2']);
$routes->get('add', 'Users::add', ['as' => 'newUser']);
$routes->post('add', 'Users::add', ['as' => 'createUser']);