summaryrefslogtreecommitdiffstats
path: root/frontend/components/Signup.js
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-05-16 10:54:08 -0400
committerWes Bos <wesbos@gmail.com>2018-05-16 10:54:08 -0400
commit802b65cfd634305f62d88cb57c54f8c053701d27 (patch)
tree12a06778d21a8b14bade3ccc8c9dd75f59f97e4a /frontend/components/Signup.js
parent3f9b14e3c1d7f47d9b3e48b94b3b5bf2c722205e (diff)
SSR Auth WIP
Diffstat (limited to 'frontend/components/Signup.js')
-rw-r--r--frontend/components/Signup.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/components/Signup.js b/frontend/components/Signup.js
index 22a729f..ef622ed 100644
--- a/frontend/components/Signup.js
+++ b/frontend/components/Signup.js
@@ -23,6 +23,7 @@ class Signup extends Component {
<Mutation mutation={SIGNUP_MUTATION} variables={this.state}>
{(signup, { loading, error }) => (
<Form
+ method="post"
onSubmit={async e => {
e.preventDefault();
const res = await signup();