diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-20 16:32:22 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-20 16:32:22 -0700 |
commit | 7f9441c33da07b215efcb51668434b3957559fd3 (patch) | |
tree | ef9fea158aaef1ea6f3453036166c3affdad8463 /modules/user/libraries | |
parent | 098b57bf18112d0a3173dbe28b5ed76782431ff7 (diff) |
Changes to Identity interface to allow for multiple Identity providers. What I've tested to this point, is you can install a new provider, switch to it, login as administrator, uninstall the default user module, reinstall the user module, switch back to the user module and login.
Diffstat (limited to 'modules/user/libraries')
-rw-r--r-- | modules/user/libraries/drivers/Identity/Gallery.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/user/libraries/drivers/Identity/Gallery.php b/modules/user/libraries/drivers/Identity/Gallery.php index f405b710..f4b4d8a7 100644 --- a/modules/user/libraries/drivers/Identity/Gallery.php +++ b/modules/user/libraries/drivers/Identity/Gallery.php @@ -22,6 +22,20 @@ */ class Identity_Gallery_Driver implements Identity_Driver { /** + * @see Identity_Driver::activate. + */ + public function activate() { + user::activate(); + } + + /** + * @see Identity_Driver::deactivate. + */ + public function deactivate() { + user::deactivate(); + } + + /** * @see Identity_Driver::guest. */ public function guest() { |