[mod] page:logic:waiting
This commit is contained in:
parent
ed0a40d951
commit
f1f92d4256
1 changed files with 5 additions and 5 deletions
|
@ -151,17 +151,17 @@ lib_plankton.zoo_page.register(
|
|||
password_confirmation : string;
|
||||
} = await input.read();
|
||||
let flaws : Array<{incident : string; details : Record<string, any>;}>;
|
||||
set_state(
|
||||
"wait",
|
||||
[
|
||||
]
|
||||
);
|
||||
if (value.password_value !== value.password_confirmation) {
|
||||
flaws = [
|
||||
{"incident": "password_mismatch", "details": {}},
|
||||
];
|
||||
}
|
||||
else {
|
||||
set_state(
|
||||
"wait",
|
||||
[
|
||||
]
|
||||
);
|
||||
try {
|
||||
flaws = await _espe.backend.member_register(
|
||||
id,
|
||||
|
|
Loading…
Add table
Reference in a new issue