You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »


Table of Contents

/config/blesta.php

The config file at /config/blesta.php is the primary config file for Blesta, and includes database details as well as options that you may wish to change. Below is a common list of options that you may wish to change.

Blesta.sticky_notes_to_show

// Number of sticky notes to show before viewing more
Configure::set('Blesta.sticky_notes_to_show', 2);

Determines the number of sticky notes to display at the top of a client profile page before you have to click to show more.

Blesta.cron_log_retention_days

// Number of days in the past to retain cron logs
Configure::set('Blesta.cron_log_retention_days', 10);

Determines the number of days that the cron log should be kept for. Reducing this will result in a smaller database, but less retention.

Blesta.reset_password_ttl

// Length of time that a reset password request will be valid for
Configure::set('Blesta.reset_password_ttl', '4 hours');

Determines the length of time that a password reset email link will be valid for. The link will expire after this time and must be re-requested.

Blesta.default_password_reset_value

// Default password reset value. Set to true for improved security, false for more accurate error reporting
Configure::set('Blesta.default_password_reset_value', true);

When users reset their password, the following message is returned regardless if there was a match on the username:

A confirmation email has been sent to the address on record.

Changing the value of the above setting from true to false will result in a different message when there is no match on the username.

That username is not recognized or the password is not capable of being reset.

  • No labels