summaryrefslogtreecommitdiffstats
path: root/application/libraries/Duser
diff options
context:
space:
mode:
Diffstat (limited to 'application/libraries/Duser')
-rw-r--r--application/libraries/Duser/Duser.php1
-rw-r--r--application/libraries/Duser/drivers/Duser_db.php1
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)