fix
This commit is contained in:
@@ -74,7 +74,7 @@ class Auth extends Start_Controller {
|
||||
|
||||
public function forgotpass() {
|
||||
//$this->index();
|
||||
$this->load->view('home/view_reset_password');
|
||||
$this->load->view('home/view_reset_password');
|
||||
}
|
||||
|
||||
public function register() {
|
||||
@@ -89,10 +89,18 @@ class Auth extends Start_Controller {
|
||||
$this->index();
|
||||
}
|
||||
|
||||
|
||||
private function registerAccount(){
|
||||
$data=array();
|
||||
$data['firstname'] = $data['lastname'] =$data['username'] ='';
|
||||
$this->load->view('home/view_register',$data);
|
||||
private function registerAccount() {
|
||||
$data = array();
|
||||
$data['firstname'] = $data['lastname'] = $data['username'] = '';
|
||||
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
|
||||
|
||||
$data['firstname'] = $this->input->post('firstname');
|
||||
$data['lastname'] = $this->input->post('lastname');
|
||||
$data['username'] = $this->input->post('username');
|
||||
$data['password'] = $this->input->post('pass2');
|
||||
|
||||
}
|
||||
$this->load->view('home/view_register', $data);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -82,18 +82,18 @@
|
||||
<label for="inputEmail">Email-Username</label>
|
||||
</div>
|
||||
<div class="form-label-group">
|
||||
<input type="password" id="inputPassword" class="form-control" placeholder="Password" required>
|
||||
<input type="pass1" id="pass1" name="pass1" class="form-control" placeholder="Password" required>
|
||||
<label for="inputPassword">Password</label>
|
||||
</div>
|
||||
<div class="form-label-group">
|
||||
<input type="password" id="inputConfPassword" class="form-control" placeholder="Confirm Password" required>
|
||||
<input type="pass2" id="pass2" name="pass2" class="form-control" placeholder="Confirm Password" required>
|
||||
<label for="inputConfPassword">Confirm Password</label>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<div class="col-12">
|
||||
<fieldset class="checkbox">
|
||||
<div class="vs-checkbox-con vs-checkbox-primary">
|
||||
<input type="checkbox" checked>
|
||||
<input type="checkbox" checked required>
|
||||
<span class="vs-checkbox">
|
||||
<span class="vs-checkbox--check">
|
||||
<i class="vs-icon feather icon-check"></i>
|
||||
|
||||
Reference in New Issue
Block a user