Follow

How To Customise The Login View On Web

You can add functionality for a username/password login by dropping the following code into the subscriptionInput array in your application config file (app/scripts/app-config.js).

subscriptionInputs: [
  {
    label: 'Username',
    name: 'username'
  },
  {
    label: 'Password',
    name: 'password',
    type: 'password'
  }
],

Adding new objects to this array allow you to customise the subscription login inputs that are shown to the user in the login modal. The label key value pair dictates the placeholder text within the input and the name is used as the input name and will be used as the key name for the value entered in the input when the form is submitted.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk