Kyberia v2.3 - 1st revision from SVN (Without patches of kyberia.sk team)
[mirrors/Kyberia-bloodline.git] / inc / eventz / set_password.inc
index 7ab9b9b69bd69cabe67552512dcdb6ae1dbbdf53..163f0ff60ccf17cb9e6a9fb537dcc07d4f37da12 100644 (file)
@@ -1,10 +1,4 @@
 <?php
-/* This program is free software. It comes without any warranty, to
- * the extent permitted by applicable law. You can redistribute it
- * and/or modify it under the terms of the Do What The Fuck You Want
- * To Public License, Version 2, as published by Sam Hocevar. See
- * http://sam.zoy.org/wtfpl/COPYING for more details. */
-
 
 function set_password() {
        global $db,$error,$error_messages;
@@ -34,7 +28,7 @@ function set_password() {
 
        //changing in LDAP
         require(SYSTEM_ROOT.'/inc/ldap.inc');
-       LDAPuser::change_pass($user_id,$old_password,$new_password1);
+       LDAPuser::change_pass_forced($user_id,$new_password1);
 
        //changing in MySQL
        $password=md5($new_password1);
This page took 0.1194 seconds and 4 git commands to generate.