Skip to content

Commit

Permalink
Merge pull request #12 from lundmorten/main
Browse files Browse the repository at this point in the history
Updated README-file
  • Loading branch information
madsoulswe authored Oct 15, 2023
2 parents 4ac7aa5 + 839de86 commit bed469a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The logic is based on: https://github.com/usercode/AspNetCore.Honeypot
This will install the Core version and a new field in Umbraco Forms.

```
V9+: Install-Package Out.Umbraco.Honeypot
V9+: Install-Package Our.Umbraco.Honeypot
V8: Install-Package Our.Umbraco.HoneyPot.V8
OR
Expand All @@ -27,11 +27,11 @@ V9+: dotnet add package Out.Umbraco.Honeypot


```
V8+: Install-Package Out.Umbraco.Honeypot.Core
V8+: Install-Package Our.Umbraco.Honeypot.Core
OR
dotnet add package Out.Umbraco.Honeypot.Core
dotnet add package Our.Umbraco.Honeypot.Core
```


Expand All @@ -51,7 +51,7 @@ Custom usage (.net 5+):
```

Valdation:
Validation:

```
[HttpPost]
Expand All @@ -75,7 +75,7 @@ public async Task<IActionResult> Form(FormModel model)
"HoneypotPrefixFieldName": "hp_",
"HoneypotSuffixFieldName": "",
"HoneypotTimeFieldName": "__time",
"HoneypotMinTimeDuration": "00:02:00,
"HoneypotMinTimeDuration": "00:02:00",
"HoneypotFieldStyles": "display: none !important; position: absolute !important; left: -9000px !important;",
"HoneypotFieldClass": "hp-field",
"HoneypotFieldNames": [ "Name", "Phone", "Comment", "Message", "Email", "Website" ],
Expand Down

0 comments on commit bed469a

Please sign in to comment.