feat: Improved password security policy (#2345)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
@@ -29,19 +29,19 @@ module WootMessageSeeder
|
||||
|
||||
def self.sample_card_item
|
||||
{
|
||||
"media_url": 'https://i.imgur.com/d8Djr4k.jpg',
|
||||
"title": 'Acme Shoes 2.0',
|
||||
"description": 'Move with Acme Shoe 2.0',
|
||||
"actions": [
|
||||
media_url: 'https://i.imgur.com/d8Djr4k.jpg',
|
||||
title: 'Acme Shoes 2.0',
|
||||
description: 'Move with Acme Shoe 2.0',
|
||||
actions: [
|
||||
{
|
||||
"type": 'link',
|
||||
"text": 'View More',
|
||||
"uri": 'http://acme-shoes.inc'
|
||||
type: 'link',
|
||||
text: 'View More',
|
||||
uri: 'http://acme-shoes.inc'
|
||||
},
|
||||
{
|
||||
"type": 'postback',
|
||||
"text": 'Add to cart',
|
||||
"payload": 'ITEM_SELECTED'
|
||||
type: 'postback',
|
||||
text: 'Add to cart',
|
||||
payload: 'ITEM_SELECTED'
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -56,11 +56,11 @@ module WootMessageSeeder
|
||||
content: 'Your favorite food',
|
||||
content_type: 'input_select',
|
||||
content_attributes: {
|
||||
"items": [
|
||||
{ "title": '🌯 Burito', "value": 'Burito' },
|
||||
{ "title": '🍝 Pasta', "value": 'Pasta' },
|
||||
{ "title": ' 🍱 Sushi', "value": 'Sushi' },
|
||||
{ "title": ' 🥗 Salad', "value": 'Salad' }
|
||||
items: [
|
||||
{ title: '🌯 Burito', value: 'Burito' },
|
||||
{ title: '🍝 Pasta', value: 'Pasta' },
|
||||
{ title: ' 🍱 Sushi', value: 'Sushi' },
|
||||
{ title: ' 🥗 Salad', value: 'Salad' }
|
||||
]
|
||||
}
|
||||
)
|
||||
@@ -75,12 +75,12 @@ module WootMessageSeeder
|
||||
content_type: 'form',
|
||||
content: 'form',
|
||||
content_attributes: {
|
||||
"items": [
|
||||
{ "name": 'email', "placeholder": 'Please enter your email', "type": 'email', "label": 'Email' },
|
||||
{ "name": 'text_area', "placeholder": 'Please enter text', "type": 'text_area', "label": 'Large Text' },
|
||||
{ "name": 'text', "placeholder": 'Please enter text', "type": 'text', "label": 'text', "default": 'defaut value' },
|
||||
{ "name": 'select', "label": 'Select Option', "type": 'select', "options": [{ "label": '🌯 Burito', "value": 'Burito' },
|
||||
{ "label": '🍝 Pasta', "value": 'Pasta' }] }
|
||||
items: [
|
||||
{ name: 'email', placeholder: 'Please enter your email', type: 'email', label: 'Email' },
|
||||
{ name: 'text_area', placeholder: 'Please enter text', type: 'text_area', label: 'Large Text' },
|
||||
{ name: 'text', placeholder: 'Please enter text', type: 'text', label: 'text', default: 'defaut value' },
|
||||
{ name: 'select', label: 'Select Option', type: 'select', options: [{ label: '🌯 Burito', value: 'Burito' },
|
||||
{ label: '🍝 Pasta', value: 'Pasta' }] }
|
||||
]
|
||||
}
|
||||
)
|
||||
@@ -95,9 +95,9 @@ module WootMessageSeeder
|
||||
content: 'Tech Companies',
|
||||
content_type: 'article',
|
||||
content_attributes: {
|
||||
"items": [
|
||||
{ "title": 'Acme Hardware', "description": 'Hardware reimagined', "link": 'http://acme-hardware.inc' },
|
||||
{ "title": 'Acme Search', "description": 'The best Search Engine', "link": 'http://acme-search.inc' }
|
||||
items: [
|
||||
{ title: 'Acme Hardware', description: 'Hardware reimagined', link: 'http://acme-hardware.inc' },
|
||||
{ title: 'Acme Search', description: 'The best Search Engine', link: 'http://acme-search.inc' }
|
||||
]
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user