Title: Adding Users &#8211; Password Glitch
Last modified: August 22, 2016

---

# Adding Users – Password Glitch

 *  Resolved [waitfortheword](https://wordpress.org/support/users/waitfortheword/)
 * (@waitfortheword)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/adding-users-password-glitch/)
 * Just following up on this issue, discussed a few months back —
 * Periodically I need to set up a new user from Users > Add New and there is glitch
   with CAS Maestro that causes it to hide the password field — making it impossible
   to add a new user.
 * I have been de-activating CAS Maestro before adding new users but hope this issue
   might be resolved in a future release. Let me know if some testing or other input
   from my end would be of assistance.
 * Otherwise, this plugin has been a tremendous help and I’m very grateful!
 * [https://wordpress.org/plugins/cas-maestro/](https://wordpress.org/plugins/cas-maestro/)

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

 *  [sheasullivan](https://wordpress.org/support/users/sheasullivan/)
 * (@sheasullivan)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/adding-users-password-glitch/#post-5769824)
 * I just ran into this issue, and removing line 159 in cas-maestro.php `add_filter('
   show_password_fields', array(&$this, 'show_password_fields'));` worked for me.
   You have to enter a password but just using a long random string seems to work
   fine.
 *  Thread Starter [waitfortheword](https://wordpress.org/support/users/waitfortheword/)
 * (@waitfortheword)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/adding-users-password-glitch/#post-5769825)
 * Thanks so much for sharing! Worked for me as well.
 *  [reswild](https://wordpress.org/support/users/reswild/)
 * (@reswild)
 * [11 years ago](https://wordpress.org/support/topic/adding-users-password-glitch/#post-5769829)
 * The problem with just removing this line is that the password fields will then
   show up on the users’ profile page, which might be confusing if they are expected
   to log in with CAS.
 * A better approach might be to replace the line with something like
 *     ```
       global $pagenow;
       if ($pagenow == 'profile.php') {
         add_filter('show_password_fields', array(&$this, 'show_password_fields'), 999);
       }
       ```
   
 * to still hide the password fields on the profile page.

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

The topic ‘Adding Users – Password Glitch’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cas-maestro_009fe3.svg)
 * [CAS Maestro](https://wordpress.org/plugins/cas-maestro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cas-maestro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cas-maestro/)
 * [Active Topics](https://wordpress.org/support/plugin/cas-maestro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cas-maestro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cas-maestro/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [reswild](https://wordpress.org/support/users/reswild/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/adding-users-password-glitch/#post-5769829)
 * Status: resolved