8db60b3e83
closes #36
205 lines
6.7 KiB
JSON
205 lines
6.7 KiB
JSON
{
|
|
"version": 1,
|
|
"entries": [
|
|
{
|
|
"identifiers": {
|
|
"pk": "a5993183-89c0-43d2-a7f4-ddffb17baba7",
|
|
"slug": "default-recovery-flow"
|
|
},
|
|
"model": "passbook_flows.flow",
|
|
"attrs": {
|
|
"name": "Default recovery flow",
|
|
"title": "Reset your password",
|
|
"designation": "recovery"
|
|
}
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"pk": "1ff91927-e33d-4615-95b0-c258e5f0df62"
|
|
},
|
|
"model": "passbook_stages_prompt.prompt",
|
|
"attrs": {
|
|
"field_key": "email",
|
|
"label": "Email",
|
|
"type": "email",
|
|
"required": true,
|
|
"placeholder": "Email",
|
|
"order": 1
|
|
}
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"pk": "7db91ee8-4290-4e08-8d39-63f132402515"
|
|
},
|
|
"model": "passbook_stages_prompt.prompt",
|
|
"attrs": {
|
|
"field_key": "password",
|
|
"label": "Password",
|
|
"type": "password",
|
|
"required": true,
|
|
"placeholder": "Password",
|
|
"order": 0
|
|
}
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"pk": "d30b5eb4-7787-4072-b1ba-65b46e928920"
|
|
},
|
|
"model": "passbook_stages_prompt.prompt",
|
|
"attrs": {
|
|
"field_key": "password_repeat",
|
|
"label": "Password (repeat)",
|
|
"type": "password",
|
|
"required": true,
|
|
"placeholder": "Password (repeat)",
|
|
"order": 1
|
|
}
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"pk": "d33ceb78-eb0d-44e7-828b-541414214eb3",
|
|
"name": "default-recovery-prompt-email"
|
|
},
|
|
"model": "passbook_stages_prompt.promptstage",
|
|
"attrs": {
|
|
"fields": [
|
|
"1ff91927-e33d-4615-95b0-c258e5f0df62"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"pk": "3909fd60-b013-4668-8806-12e9507dab97",
|
|
"name": "default-recovery-user-write"
|
|
},
|
|
"model": "passbook_stages_user_write.userwritestage",
|
|
"attrs": {}
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"pk": "66f948dc-3f74-42b2-b26b-b8b9df109efb",
|
|
"name": "default-recovery-email"
|
|
},
|
|
"model": "passbook_stages_email.emailstage",
|
|
"attrs": {
|
|
"host": "localhost",
|
|
"port": 25,
|
|
"username": "",
|
|
"use_tls": false,
|
|
"use_ssl": false,
|
|
"timeout": 10,
|
|
"from_address": "system@passbook.local",
|
|
"token_expiry": 30,
|
|
"subject": "passbook",
|
|
"template": "stages/email/for_email/password_reset.html"
|
|
}
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"pk": "975d5502-1e22-4d10-b560-fbc5bd70ff4d",
|
|
"name": "default-password-change-prompt"
|
|
},
|
|
"model": "passbook_stages_prompt.promptstage",
|
|
"attrs": {
|
|
"fields": [
|
|
"7db91ee8-4290-4e08-8d39-63f132402515",
|
|
"d30b5eb4-7787-4072-b1ba-65b46e928920"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"pk": "fcdd4206-0d35-4ad2-a59f-5a72422936bb",
|
|
"name": "default-recovery-user-login"
|
|
},
|
|
"model": "passbook_stages_user_login.userloginstage",
|
|
"attrs": {
|
|
"session_duration": 0
|
|
}
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"pk": "7af7558e-2196-4b9f-a08e-d38420b7cfbb",
|
|
"target": "a5993183-89c0-43d2-a7f4-ddffb17baba7",
|
|
"stage": "2390c8be-203a-40f9-acf1-6665fb4be23c",
|
|
"order": 0
|
|
},
|
|
"model": "passbook_flows.flowstagebinding",
|
|
"attrs": {
|
|
"re_evaluate_policies": false
|
|
}
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"pk": "29446fd6-dd93-4e92-9830-2d81debad5ae",
|
|
"target": "a5993183-89c0-43d2-a7f4-ddffb17baba7",
|
|
"stage": "66f948dc-3f74-42b2-b26b-b8b9df109efb",
|
|
"order": 1
|
|
},
|
|
"model": "passbook_flows.flowstagebinding",
|
|
"attrs": {
|
|
"re_evaluate_policies": false
|
|
}
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"pk": "1219d06e-2c06-4c5b-a162-78e3959c6cf0",
|
|
"target": "a5993183-89c0-43d2-a7f4-ddffb17baba7",
|
|
"stage": "f0b2ab09-759c-47b0-9d2a-3470e7912b71",
|
|
"order": 2
|
|
},
|
|
"model": "passbook_flows.flowstagebinding",
|
|
"attrs": {
|
|
"re_evaluate_policies": false
|
|
}
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"pk": "66de86ba-0707-46a0-8475-ff2e260d6935",
|
|
"target": "a5993183-89c0-43d2-a7f4-ddffb17baba7",
|
|
"stage": "3909fd60-b013-4668-8806-12e9507dab97",
|
|
"order": 3
|
|
},
|
|
"model": "passbook_flows.flowstagebinding",
|
|
"attrs": {
|
|
"re_evaluate_policies": false
|
|
}
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"pk": "9cec2334-d4a2-4895-a2b2-bc5ae4e9639a",
|
|
"target": "a5993183-89c0-43d2-a7f4-ddffb17baba7",
|
|
"stage": "fcdd4206-0d35-4ad2-a59f-5a72422936bb",
|
|
"order": 4
|
|
},
|
|
"model": "passbook_flows.flowstagebinding",
|
|
"attrs": {
|
|
"re_evaluate_policies": false
|
|
}
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"pk": "cd042fc6-cc92-4b98-b7e6-f4729df798d8"
|
|
},
|
|
"model": "passbook_policies_expression.expressionpolicy",
|
|
"attrs": {
|
|
"name": "default-password-change-password-equal",
|
|
"expression": "# Check that both passwords are equal.\nreturn request.context['password'] == request.context['password_repeat']"
|
|
}
|
|
},
|
|
{
|
|
"identifiers": {
|
|
"pk": "ed3fc35e-4b6b-499e-b82b-bb2a90ac70b7",
|
|
"policy": "cd042fc6-cc92-4b98-b7e6-f4729df798d8",
|
|
"target": "975d5502-1e22-4d10-b560-fbc5bd70ff4d",
|
|
"order": 0
|
|
},
|
|
"model": "passbook_policies.policybinding",
|
|
"attrs": {
|
|
"enabled": true,
|
|
"timeout": 30
|
|
}
|
|
}
|
|
]
|
|
}
|