Commit 8d2419f9 authored by Ivan Tyagov's avatar Ivan Tyagov

Redirect to front page after OK registration.

parent 57abdb64
...@@ -59,14 +59,14 @@ ...@@ -59,14 +59,14 @@
return gadget.notifySubmitted({message: 'HTTP ERROR. Registration NOT done.', status: 'error'}); return gadget.notifySubmitted({message: 'HTTP ERROR. Registration NOT done.', status: 'error'});
}) })
//if you want to redirect to a specific page after registration: //if you want to redirect to a specific page after registration:
/*.push(function () { .push(function () {
return gadget.redirect({ return gadget.redirect({
command: 'display', command: 'display',
options: { options: {
page: "home" page: "home"
} }
}); });
})*/; })
} else { } else {
return gadget.notifySubmitted({message: 'Misformatted email and / or passwords not matching. Please note that all fields are required!', status: 'error'}); return gadget.notifySubmitted({message: 'Misformatted email and / or passwords not matching. Please note that all fields are required!', status: 'error'});
} }
......
...@@ -232,7 +232,7 @@ ...@@ -232,7 +232,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>977.10272.46563.23142</string> </value> <value> <string>977.10298.62565.9932</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -250,7 +250,7 @@ ...@@ -250,7 +250,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1563450686.29</float> <float>1563451951.09</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment