我需要获得检查两个字段中输入的相同密码并返回具有正确密码或错误密码的GUI的功能。
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Auth extends CI_Model
{
public function __construct()
{
parent::__construct();
$this->load->model('googlecalendar');
$this->load->library('session');
if ( ! $this->googlecalendar->isLogin()) {
$this->session->sess_destroy();
redirect('/auth/login', 'refresh');
}
}
}