improve registration fail error msg slightly
parent
af5a866596
commit
0d153df417
|
@ -126,7 +126,7 @@ module.exports = React.createClass({
|
||||||
if (!response || !response.user_id || !response.access_token) {
|
if (!response || !response.user_id || !response.access_token) {
|
||||||
console.error("Final response is missing keys.");
|
console.error("Final response is missing keys.");
|
||||||
self.setState({
|
self.setState({
|
||||||
errorText: "There was a problem processing the response."
|
errorText: "Registration failed on server"
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue