summaryrefslogtreecommitdiffstats
path: root/frontend/components
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-05-16 12:27:21 -0400
committerWes Bos <wesbos@gmail.com>2018-05-16 12:27:21 -0400
commit18752008f9abd7749f61f8d674f66de2a535c131 (patch)
tree5825328e58cf8a4a196532f8b40d515b185cd8ea /frontend/components
parent802b65cfd634305f62d88cb57c54f8c053701d27 (diff)
SSR with Auth
Diffstat (limited to 'frontend/components')
-rw-r--r--frontend/components/PleaseSignIn.js2
-rw-r--r--frontend/components/Signin.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/frontend/components/PleaseSignIn.js b/frontend/components/PleaseSignIn.js
index 22c58c9..7e5e726 100644
--- a/frontend/components/PleaseSignIn.js
+++ b/frontend/components/PleaseSignIn.js
@@ -39,7 +39,7 @@ const PleaseSignIn = props => (
);
PleaseSignIn.propTypes = {
- allowedPermissions: PropTypes.array.isRequired,
+ allowedPermissions: PropTypes.array,
children: PropTypes.any.isRequired,
};
diff --git a/frontend/components/Signin.js b/frontend/components/Signin.js
index 9e25cf1..7a4db8c 100644
--- a/frontend/components/Signin.js
+++ b/frontend/components/Signin.js
@@ -28,7 +28,7 @@ class Signin extends Component {
{client => (
<Mutation mutation={SIGNIN_MUTATION} variables={this.state}>
{(signin, { loading, error }) => (
- <Form method="post" onSubmit={e => this.loginUser(e, signin, client)}>
+ <Form onSubmit={e => this.loginUser(e, signin, client)}>
<Error error={error} />
<fieldset disabled={loading} aria-busy={loading}>
<label htmlFor="email">