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

Redirect to front page after OK registration.

parent 57abdb64
......@@ -59,14 +59,14 @@
return gadget.notifySubmitted({message: 'HTTP ERROR. Registration NOT done.', status: 'error'});
})
//if you want to redirect to a specific page after registration:
/*.push(function () {
.push(function () {
return gadget.redirect({
command: 'display',
options: {
page: "home"
}
});
})*/;
})
} else {
return gadget.notifySubmitted({message: 'Misformatted email and / or passwords not matching. Please note that all fields are required!', status: 'error'});
}
......
......@@ -232,7 +232,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>977.10272.46563.23142</string> </value>
<value> <string>977.10298.62565.9932</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -250,7 +250,7 @@
</tuple>
<state>
<tuple>
<float>1563450686.29</float>
<float>1563451951.09</float>
<string>UTC</string>
</tuple>
</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