UNPKG

strapi-plugin-passwordless

Version:

A plugin for Strapi Headless CMS that provides ability to sign-in/sign-up to an application by link had sent to email.

50 lines (49 loc) 949 B
{ "kind": "collectionType", "collectionName": "tokens", "info": { "singularName": "token", "pluralName": "tokens", "displayName": "Token", "name": "token" }, "options": { "increments": false, "timestamps": true, "draftAndPublish": false }, "attributes": { "email": { "type": "email", "required": true, "private": true, "configurable": false }, "body": { "type": "string", "required": true, "unique": true, "private": true, "configurable": false }, "context": { "type": "json", "private": true, "configurable": false }, "login_date": { "type": "datetime", "configurable": false }, "is_active": { "type": "boolean", "default": true, "configurable": false }, "stays_valid": { "type": "boolean", "default": false, "configurable": true } } }