Title: Bug with encrypt function
Last modified: August 30, 2016

---

# Bug with encrypt function

 *  Resolved [tonykwon](https://wordpress.org/support/users/tonykwon/)
 * (@tonykwon)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/bug-with-encrypt-function/)
 * Hi,
 * Thank you for a great plugin.
 * I think there is a small issue with your encrypt method of Mo_Ldap_Local_Util
   class.
 * If the service account password contains a single quote per se, str argument 
   that is passed to encrypt method has an escaped version of the password (which
   is different from the original password)
 * e.g. `7805d2R'$H` turns into `7805d2R\'$H` when it is passed to encrypt method.
 * [https://wordpress.org/plugins/ldap-login-for-intranet-sites/](https://wordpress.org/plugins/ldap-login-for-intranet-sites/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [miniOrange](https://wordpress.org/support/users/cyberlord92/)
 * (@cyberlord92)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/bug-with-encrypt-function/#post-6558885)
 * Hi,
 * Thank you for pointing that issue. We have resolved that issue and published 
   plugin version 1.4. Please update your plugin.
 * Thanks.
    Team miniOrange
 *  Plugin Author [miniOrange](https://wordpress.org/support/users/cyberlord92/)
 * (@cyberlord92)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/bug-with-encrypt-function/#post-6558893)
 * Resolved from our side.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Bug with encrypt function’ is closed to new replies.

 * ![](https://ps.w.org/ldap-login-for-intranet-sites/assets/icon-128x128.gif?rev
   =2664776)
 * [Active Directory Integration / LDAP Integration](https://wordpress.org/plugins/ldap-login-for-intranet-sites/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ldap-login-for-intranet-sites/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ldap-login-for-intranet-sites/)
 * [Active Topics](https://wordpress.org/support/plugin/ldap-login-for-intranet-sites/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ldap-login-for-intranet-sites/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ldap-login-for-intranet-sites/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [miniOrange](https://wordpress.org/support/users/cyberlord92/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/bug-with-encrypt-function/#post-6558893)
 * Status: resolved