General parameters

Configuration file: self-service-password/conf/


Available language are:

  • Brazilian (pt-BR)
  • Catalonia (ca)
  • Dutch (nl)
  • English (en)
  • French (fr)
  • German (de)
  • Polish (pl)
  • Spanish (es)
  • Russian (ru)
  • Italian (it)

Set one of them in $lang:

$lang ="en";


Help messages provide information to users on how use the interface. They can be disabled with $show_help:

$show_help = false;

You can add extra messages by setting values in these parameters:

$messages['passwordchangedextramessage'] = "Congratulations!";
$messages['changehelpextramessage'] = "Contact us if you are lost...";

You change the default logo with your own. Set the path to your logo in $logo:

$logo = "style/ltb-logo.png";


You can turn on debug mode with $debug:

$debug = true;


You need a key phrase if you use ciphered tokens (see Reset by mail tokens)

$keyphrase = "secret";

There is also a protection on login to avoid LDAP injections. Some characters are forbidden, you can change the list of forbidden characters in login with $login_forbidden_chars:

$login_forbidden_chars = "*()&|";
If no characters are configured in $login_forbidden_chars, only alphanumeric characters are allowed.

Default action

By default, the password change page is displayed. You can configure which page should be displayed when no action is defined:

$default_action = "change";

Possibles values are:

  • change
  • sendtoken
  • sendsms