mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-23 01:01:20 +00:00

- overwrite myth/auth config with castopod app needs - create custom views for users authentication - add admin area bootstrapped by admin controller - shift podcast and episodes crud to admin area - reorganize view layouts - update docs for database migration - add myth-auth to DEPENDENCIES.md closes #11
38 lines
1.0 KiB
PHP
38 lines
1.0 KiB
PHP
<?php namespace Config;
|
|
|
|
class Validation
|
|
{
|
|
//--------------------------------------------------------------------
|
|
// Setup
|
|
//--------------------------------------------------------------------
|
|
|
|
/**
|
|
* Stores the classes that contain the
|
|
* rules that are available.
|
|
*
|
|
* @var array
|
|
*/
|
|
public $ruleSets = [
|
|
\CodeIgniter\Validation\Rules::class,
|
|
\CodeIgniter\Validation\FormatRules::class,
|
|
\CodeIgniter\Validation\FileRules::class,
|
|
\CodeIgniter\Validation\CreditCardRules::class,
|
|
\Myth\Auth\Authentication\Passwords\ValidationRules::class,
|
|
];
|
|
|
|
/**
|
|
* Specifies the views that are used to display the
|
|
* errors.
|
|
*
|
|
* @var array
|
|
*/
|
|
public $templates = [
|
|
'list' => 'CodeIgniter\Validation\Views\list',
|
|
'single' => 'CodeIgniter\Validation\Views\single',
|
|
];
|
|
|
|
//--------------------------------------------------------------------
|
|
// Rules
|
|
//--------------------------------------------------------------------
|
|
}
|