Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

...

You can change the values of the below variables to customize if you want the user to validate their email once they join or not.

NameTypeDescriptionExample
validateJoinbooleanThis configuration controllers the status of a user after joining. aka ('pendingJoin' : 'active')
 
true

3. Mail Configuration

Info
titleLocation

In provision - key configuration

In custom registry

...

Code Block
languagejs
titleURAC
{
  "links": {...}, // this object to control the links in the emails
  "mail": { // this object to control the content of the emails
    "join": {...}, // Join - mail content configuration
    "forgotPassword": {...}, // Forgot password mail - content configuration
    "addUser": {...}, // Add User - mail content configuration
    "changeUserStatus": {...}, // Change User Status - mail content configuration
    "changeEmail": {...} // Change Email - mail content configuration
  }	
}

4. Mail token configuration

Info
titleLocation

In provision - key configuration

The URAC sends verification mail with links containing token with expiration date.

NameTypeDescriptionExample

tokenExpiryTTL

millisecondsThis configuration controllers the expiration period for the email links token.
 

172800000

5. Pin login configuration

Info
titleLocation

In provision

Pin code adds a second layer of authentication to URAC. For example, having restaurants with multiple branches and multiple positions. User should put a password and should use a pin code to gain access. For full information go to Pin login Configuration.

...

6. Data configuration

Resources and database configuration and creation steps can be found under Data Configuration.

...



Name


Local Configuration (Default)

config.js

Registry Configuration (Per Environment)

req.soajs.registry


Tenant Configuration (Per Tenant Per Environment)

SettingsCustom
pinConfiguration1234
model¹"mongo"

hashIterations

24

seedLength12

model¹: We currently only support mongo models.

...