Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- handleLogIn(username, password){
- {/*call to the backend and bcrypt goes here*/}
- console.log('inside App. username: ', username, ' password: ', password);
- this.setState({
- username:username,
- password:password
- }).then(function() {
- console.log("poop");
- }.bind(this));
- }
- render() {
- const xProfilePagex = () => {
- return(
- <div>
- <ProfilePage handleLogIn={this.handleLogIn.bind(this)}/>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement