<?php

namespace App\Controllers;
/*
MERM Providers Login
*/
class Login extends BaseController {

    public function StartLogin() {
      
        $data = array();
        $data['username'] = $data['pass'] = $data['error_message']='';
        //$this->request->getPost();


        echo 'ameye ';

    } // end of index Login

    private function verifyLoginInput(&$data) {

        $ret = false;
        if ($data['username'] == '' or $data['pass'] == '') {
            $data['error_message']="Username and password required";
        }

        if (trim($data['username']) != '' or trim($data['pass']) != '') {
            $ret = true;
        }

        return $ret;
    }

}
