generated from fastn-stack/fastn-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Use `ftd.string-field` - Rename `set-password` -> `action`. Easier to read and write and move around.
- Loading branch information
1 parent
e8909e0
commit fb199b0
Showing
3 changed files
with
44 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
-- optional string $new-password-error: | ||
-- optional string $new-password2-error: | ||
-- ftd.string-field $new-password: new-password | ||
-- ftd.string-field $new-password2: new-password2 | ||
|
||
-- void submit-values(password, password2, code): | ||
string password: | ||
string password2: | ||
string code: | ||
-- void submit-values(new_password, new_password2, email, code, spr): | ||
ftd.string-field new_password: | ||
ftd.string-field new_password2: | ||
ftd.string-field email: | ||
ftd.string-field code: | ||
ftd.string-field spr: | ||
js: $assets.files.assets.functions.js | ||
|
||
callAlert("change password attempt: " + password + " " + password2) | ||
;; call submit with http options | ||
callAlert("ui: change password attempt") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,6 @@ | |
|
||
-- change-password.page: | ||
site-data: scenario-site | ||
email: [email protected] | ||
code: testcode | ||
spr: /set-password/ |