class Object
Constants
- APP_PATH
This command will automatically be run when you run “rails” with Rails 3 gems installed from the root of your application.
- CRYPT_KEY
If deploying
PasswordPusher
yourself, you should change these CRYPT values.- CRYPT_SALT
- DELETABLE_BY_VIEWER_DEFAULT
-
When the above option (
DELETABLE_BY_VIEWER_PASSWORDS
) is set to true, this option does two things:1. Sets the default check state for the "Allow viewers to optionally delete password before expiration" checkbox 2. Sets the default value for newly pushed passwords if if unspecified (such as with a json request)
- DELETABLE_BY_VIEWER_PASSWORDS
DELETABLE_BY_VIEWER_PASSWORDS
Can passwords be deleted by viewers?When true, passwords will have a link to optionally delete the password being viewed. When pushing a new password, this option will also add a checkbox to conditionally enable/disable this feature on a per-password basis.
- EXPIRE_AFTER_DAYS_DEFAULT
Controls the “Expire After Days” form settings in Password#new
- EXPIRE_AFTER_DAYS_MAX
- EXPIRE_AFTER_DAYS_MIN
- EXPIRE_AFTER_VIEWS_DEFAULT
Controls the “Expire After Views” form settings in Password#new
- EXPIRE_AFTER_VIEWS_MAX
- EXPIRE_AFTER_VIEWS_MIN
- PAYLOAD_INITIAL_TEXT