Project

General

Profile

Actions

Form Login » History » Revision 1

Revision 1/4 | Next »
Lê Sĩ Quý, 08/28/2025 12:03 PM


Login

Northwind app sử dụng cơ chế authentcation đơn giản cung cấp bởi AKA-Form. Hệ thống thiết lập giá trị cứng cho email/password. Giá trị password được hash bằng hàm md5.

JSON Schema

Gồm 2 trường email và password

{
  "display": "form",
  "components": [
    {
      "label": "Email",
      "applyMaskOn": "change",
      "tableView": true,
      "validate": {
        "required": true
      },
      "validateWhenHidden": false,
      "key": "email",
      "type": "email",
      "input": true
    },
    {
      "label": "Password",
      "applyMaskOn": "change",
      "tableView": false,
      "validate": {
        "required": true
      },
      "validateWhenHidden": false,
      "key": "password",
      "type": "password",
      "input": true,
      "protected": true
    },
    {
      "label": "Login",
      "showValidations": false,
      "disableOnInvalid": true,
      "tableView": false,
      "key": "submit",
      "type": "button",
      "input": true,
      "saveOnEnter": false
    }
  ]
}

Updated by Lê Sĩ Quý 8 months ago · 4 revisions