28 lines
680 B
PHP
28 lines
680 B
PHP
<?php if ( ! defined( 'BASEPATH' ) ) exit( 'No direct script access allowed' );
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: imac-3
|
|
* Date: 26/06/16
|
|
* Time: 21:13
|
|
*/
|
|
|
|
require_once( APPPATH . 'libraries/validation/inputValidations/BaseValidation.php' );
|
|
|
|
class LoginValidation extends BaseValidation {
|
|
|
|
protected $validationFields = [
|
|
'username' => [
|
|
'validations' => 'required|alphaNumericSpaces',
|
|
'fieldname' => 'gebruikersnaam'
|
|
],
|
|
'password' => [
|
|
'validations' => 'required',
|
|
'fieldname' => 'wachtwoord'
|
|
]
|
|
];
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
}
|
|
} |