diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-06-05 21:21:57 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-06-05 21:23:49 +0200 |
commit | c5edcea7ad85ce93682ef20d5f47a093a5512163 (patch) | |
tree | b03333c5181a27364cddb2478520a2bec2659dd9 /application/libraries/Duser | |
parent | 80dd45e545d1ac96bbef536b18508a6bcb009203 (diff) |
Allow users to change their email
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/libraries/Duser')
-rw-r--r-- | application/libraries/Duser/Duser.php | 1 | ||||
-rw-r--r-- | application/libraries/Duser/drivers/Duser_db.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/application/libraries/Duser/Duser.php b/application/libraries/Duser/Duser.php index bf765d690..6212bfa6d 100644 --- a/application/libraries/Duser/Duser.php +++ b/application/libraries/Duser/Duser.php @@ -14,6 +14,7 @@ abstract class Duser_Driver extends CI_Driver { // Possible values are: // - can_register_new_users (only supported with the DB driver!) // - can_reset_password (only supported with the DB driver!) + // - can_change_email (only supported with the DB driver!) public $optional_functions = array(); /* diff --git a/application/libraries/Duser/drivers/Duser_db.php b/application/libraries/Duser/drivers/Duser_db.php index 157a91395..b73c0e2e2 100644 --- a/application/libraries/Duser/drivers/Duser_db.php +++ b/application/libraries/Duser/drivers/Duser_db.php @@ -16,6 +16,7 @@ class Duser_db extends Duser_Driver { public $optional_functions = array( 'can_reset_password', 'can_register_new_users', + 'can_change_email', ); public function login($username, $password) |