Software / code / prosody
Annotate
spec/json/fail3.json @ 13871:9eee04a95a25 13.0
MUC: Fix nickname registration form error handling (fixes #1930)
`dataform:data()` always returns the first table of collected values,
even if there are errors, so checking for its absence did not detect
when a required field (the only field, nickname) was missing.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 05 May 2025 16:32:45 +0200 |
| parent | 8236:4878e4159e12 |
| rev | line source |
|---|---|
|
8236
4878e4159e12
Port tests to the `busted` test runner
Waqas Hussain <waqas20@gmail.com>
parents:
diff
changeset
|
1 {unquoted_key: "keys must be quoted"} |