[SUCS Devel] [Git][sucssite/sucs-site][sha512-passwords] [components/options.php] add missing )

Imran Hussain (@imranh) imranh at sucs.org
Thu Dec 23 11:36:46 GMT 2021



Imran Hussain pushed to branch sha512-passwords at sucssite / sucs-site


Commits:
c6b86c7a by Imran Hussain at 2021-12-23T11:36:44+00:00
[components/options.php] add missing )
- - - - -


1 changed file:

- components/options.php


Changes:

=====================================
components/options.php
=====================================
@@ -49,7 +49,7 @@ function changePassword($oldpass, $newpass1, $newpass2)
 
     // if everything looks OK, attempt to make the change
     $success = ldap_mod_replace($ldap, "uid=" . $session->username . ",ou=People,dc=sucs,dc=org",
-        array('userpassword' => "{CRYPT}" . cryptPassword($newpass1));
+        array('userpassword' => "{CRYPT}" . cryptPassword($newpass1)));
 
     ldap_close($ldap);
     return $success;



View it on GitLab: https://projects.sucs.org/sucssite/sucs-site/-/commit/c6b86c7ab7d439e6baeefbf33cfa47a3df67d056

-- 
View it on GitLab: https://projects.sucs.org/sucssite/sucs-site/-/commit/c6b86c7ab7d439e6baeefbf33cfa47a3df67d056
You're receiving this email because of your account on projects.sucs.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20211223/9f859f91/attachment.html>


More information about the Devel mailing list