Add some comments
This commit is contained in:
@@ -1,11 +1,22 @@
|
||||
<?php defined('BASEPATH') || exit("No direct script access allowed");
|
||||
|
||||
/**
|
||||
* Authentication controller
|
||||
*
|
||||
* @author Eike Foken <kontakt@eikefoken.de>
|
||||
*/
|
||||
class Auth extends CI_Controller {
|
||||
|
||||
/**
|
||||
* Shows the index page.
|
||||
*/
|
||||
public function index() {
|
||||
$this->load->view('auth/login');
|
||||
}
|
||||
|
||||
/**
|
||||
* Logs the user in - or not ;-)
|
||||
*/
|
||||
public function do_login() {
|
||||
echo "{success: true}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user