@@ -50,43 +50,6 @@ class Auth extends BaseConfig
5050 'magic-link-email ' => '\CodeIgniter\Shield\Views\Email\magic_link_email ' ,
5151 ];
5252
53- /**
54- * --------------------------------------------------------------------
55- * Customize the DB group used for each model
56- * --------------------------------------------------------------------
57- */
58- public ?string $ DBGroup = null ;
59-
60- /**
61- * --------------------------------------------------------------------
62- * Customize Name of Shield Tables
63- * --------------------------------------------------------------------
64- * Only change if you want to rename the default Shield table names
65- *
66- * It may be necessary to change the names of the tables for
67- * security reasons, to prevent the conflict of table names,
68- * the internal policy of the companies or any other reason.
69- *
70- * - users Auth Users Table, the users info is stored.
71- * - auth_identities Auth Identities Table, Used for storage of passwords, access tokens, social login identities, etc.
72- * - auth_logins Auth Login Attempts, Table records login attempts.
73- * - auth_token_logins Auth Token Login Attempts Table, Records Bearer Token type login attempts.
74- * - auth_remember_tokens Auth Remember Tokens (remember-me) Table.
75- * - auth_groups_users Groups Users Table.
76- * - auth_permissions_users Users Permissions Table.
77- *
78- * @var array<string, string>
79- */
80- public array $ tables = [
81- 'users ' => 'users ' ,
82- 'identities ' => 'auth_identities ' ,
83- 'logins ' => 'auth_logins ' ,
84- 'token_logins ' => 'auth_token_logins ' ,
85- 'remember_tokens ' => 'auth_remember_tokens ' ,
86- 'groups_users ' => 'auth_groups_users ' ,
87- 'permissions_users ' => 'auth_permissions_users ' ,
88- ];
89-
9053 /**
9154 * --------------------------------------------------------------------
9255 * Redirect URLs
@@ -404,6 +367,44 @@ class Auth extends BaseConfig
404367 * OTHER SETTINGS
405368 * ////////////////////////////////////////////////////////////////////
406369 */
370+
371+ /**
372+ * --------------------------------------------------------------------
373+ * Customize the DB group used for each model
374+ * --------------------------------------------------------------------
375+ */
376+ public ?string $ DBGroup = null ;
377+
378+ /**
379+ * --------------------------------------------------------------------
380+ * Customize Name of Shield Tables
381+ * --------------------------------------------------------------------
382+ * Only change if you want to rename the default Shield table names
383+ *
384+ * It may be necessary to change the names of the tables for
385+ * security reasons, to prevent the conflict of table names,
386+ * the internal policy of the companies or any other reason.
387+ *
388+ * - users Auth Users Table, the users info is stored.
389+ * - auth_identities Auth Identities Table, Used for storage of passwords, access tokens, social login identities, etc.
390+ * - auth_logins Auth Login Attempts, Table records login attempts.
391+ * - auth_token_logins Auth Token Login Attempts Table, Records Bearer Token type login attempts.
392+ * - auth_remember_tokens Auth Remember Tokens (remember-me) Table.
393+ * - auth_groups_users Groups Users Table.
394+ * - auth_permissions_users Users Permissions Table.
395+ *
396+ * @var array<string, string>
397+ */
398+ public array $ tables = [
399+ 'users ' => 'users ' ,
400+ 'identities ' => 'auth_identities ' ,
401+ 'logins ' => 'auth_logins ' ,
402+ 'token_logins ' => 'auth_token_logins ' ,
403+ 'remember_tokens ' => 'auth_remember_tokens ' ,
404+ 'groups_users ' => 'auth_groups_users ' ,
405+ 'permissions_users ' => 'auth_permissions_users ' ,
406+ ];
407+
407408 /**
408409 * --------------------------------------------------------------------
409410 * User Provider
0 commit comments