summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: df9a949)
raw | patch | inline | side by side (parent: df9a949)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 4 Sep 2009 12:59:28 +0000 (12:59 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 4 Sep 2009 12:59:28 +0000 (12:59 +0000) |
-This keeps the functionality and allows us to easily overwrite the behaviour.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14208 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14208 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/password/class_password.inc | patch | blob | history |
diff --git a/gosa-core/plugins/personal/password/class_password.inc b/gosa-core/plugins/personal/password/class_password.inc
index db087e57cb2aa821eb615c1f7f0f945d193ebb50..f0b288b755dc085b9bacc7663fdae68ee3227623 100644 (file)
msg_dialog::display(_("Password change"),
_("You have no permission to change your password."),WARNING_DIALOG);
}else{
- change_password ($ui->dn, $_POST['new_password']);
+ $this->change_password($ui->dn, $_POST['new_password']);
gosa_log ("User/password has been changed");
$ui->password= $_POST['new_password'];
session::set('ui',$ui);
return($smarty->fetch(get_template_path("password.tpl", TRUE)));
}
+ function change_password($dn, $pwd)
+ {
+ change_password ($dn, $pwd);
+ }
+
function remove_from_parent()
{
$this->handle_post_events("remove");