fix email length check, add unenroll api+email system

This commit is contained in:
Ean Milligan
2026-04-09 01:44:41 -04:00
parent 851c562bdd
commit 2669120524
4 changed files with 110 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ post {
body:json {
{
"name": "teest",
"name": "test",
"pin": "1234"
}
}

View File

@@ -0,0 +1,24 @@
meta {
name: unenroll user
type: http
seq: 3
}
delete {
url: http://localhost:14014/api/unenroll
body: json
auth: inherit
}
body:json {
{
"name": "test",
"pin": "1234",
"deleteCode": ""
}
}
settings {
encodeUrl: true
timeout: 0
}