printPasswordForm(): Option for not asking for user name?

Before updating to 1.4.2.3 `printPasswordForm('', false, false)` only showed the input box for password (protected album for guest login), but now it also showes the input box for user name. I did not find anything about changing this behaviour in the documentation (template-functions.php).

How am I able to hide the input box 'user'?

Wete

Comments

  • If your installation is "private" or the gallery option to show the user field is checked the user field will show as directed. In the first case because a user cannot login without the user code, in the second because that is what the adminsitrator desires (presumably so that users as well as guests can log in).

    The field will also show if the guest password has a user name associated with it.
  • Wete Member
    I found the checkbox for showing the user name. Is this new in 1.4.2.3?

    Thanx!
    Wete
  • No, it is not new. But the handling was not consistent.
Sign In or Register to comment.