Skip to main content

Application settings

Before running your application, you need to set the application settings in your database.

The table “applicationsettings” contains these settings. Although, the app will run even if you don’t set those settings, it is recommended to set them because the default values for these may not suit your needs

KeyDescriptionDefault value
JWT_SECRET_KEYkey used to sign the jwt keys during loginm<72rO;IMVkLFXD)W:$,7fJZ[)knjjkfi319nafdnwqekh3rimlqwqoi13oKcX
JWT_TOKEN_DURATIONDuration in seconds of the generated token3600
PREVIOUS_PASS_MAX_COUNTThe number of previous password that we store3
PASSWORD_CHANGE_TOKEN_DURATIONDuration of the generated token during forgot password action3
MAX_LOGIN_ATTEMPTThe maximum login attempt allowed. User’s account will be disabled after this much attempt.600
NOTIFY_ON_FORGOT_PASSWORDThe emails which will be notified every time an used is performing the forgot-password action (CSV format).