diff options
| author | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-03-27 03:19:43 +0300 |
|---|---|---|
| committer | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-03-27 03:19:43 +0300 |
| commit | fa7303bc99ed56e6770928d59e16ee3306e26750 (patch) | |
| tree | 68e475e778764d1d50d16375567995432b3fd15f /html/app/controllers | |
| parent | e32735e01bab8f73ce0fb0413254cfd8e18249e2 (diff) | |
| download | classroom-fa7303bc99ed56e6770928d59e16ee3306e26750.tar.gz classroom-fa7303bc99ed56e6770928d59e16ee3306e26750.tar.bz2 classroom-fa7303bc99ed56e6770928d59e16ee3306e26750.zip | |
several tests on user_manager extension
Diffstat (limited to 'html/app/controllers')
| -rw-r--r-- | html/app/controllers/Classroom_user.php | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/html/app/controllers/Classroom_user.php b/html/app/controllers/Classroom_user.php new file mode 100644 index 0000000..616ebf6 --- /dev/null +++ b/html/app/controllers/Classroom_user.php @@ -0,0 +1,69 @@ +<?php +namespace app\controllers; + +use UserManager; +use Registry; +# use app\models\admin\User_model; + + + +/** ClassUserManager + * + * extends (anom's) UserManager + * + * this way it specializes the UserManagement + * according to this app's special rules + * + */ +class Classroom_user extends UserManager +{ + + private $user_identifier = 'email'; // identifing user field (username, email, etc ) + + protected $user; + + public function __construct() + { + // $this->user = new UserManager(); + + } + + + public function register_user() + { + $req = Registry::get('REQUEST'); + print_r($req->POST); die(); + + } + + + public function login_user() + { + + } + + + /** forgot password + * + * send an otp + * (then verify) + * + */ + public function forgot_password() + { + + } + + + /** Verify Account + * + * check if posted OTP matched the one sent to the user + * + */ + public function verify_otp() + { + + } + + +}
\ No newline at end of file |
