We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e997d8 commit 7f068b6Copy full SHA for 7f068b6
.env
.gitignore
@@ -1,5 +1,4 @@
1
node_modules/
2
-.env
3
npm-debug.log
4
dist
5
.DS_Store
src/views/Main/Login/Login.js
@@ -44,7 +44,7 @@ export class Login extends React.Component {
44
event.preventDefault()
45
const { username, email, password } = this.state
46
if (username && email && password) {
47
- this.props.auth.login(username, email, password)
+ this.props.auth.signup(username, email, password)
48
.then(result => {
49
if (!result.token) {
50
this.setState({signupError: result.message})
0 commit comments