blob: c365670fd72e759c98ef6dd7f8fb702162052c68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
<?php
namespace app\extends;
use app\models\admin\User_model;
use \Registry;
/** ClassUserManager
*
* extends (anom's) UserManager
*
* this way it specializes the UserManagement
* according to this app's special rules
*
*/
class ClassUserMagager extends UserManager
{
public function create_user()
{
}
public function register_user()
{
}
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()
{
}
}
|