-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/194 #219
base: develop
Are you sure you want to change the base?
Feature/194 #219
Conversation
Cool! Looks like it is hooked up correctly. I'm not sure what the definition of done here is since we don't have the other user-specific pages up. Is it OK, that there isn't any indicators of signing in? Maybe a GET/user to get your username and display it somewhere in the nav bar? I haven't done too much on the front end so I'd like someone else to approve/advise on this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested it out and looks like all the calls are working :) left a few comments
@@ -0,0 +1,12 @@ | |||
const store = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like this file appeared because of a Git issue, it should be safe to delete
responseHTML = 'Account successfully created'; | ||
} else { | ||
responseHTML = <font color='#ff0000'> {response} </font>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw that you set color='blue'
on a button in another part of the code, is it possible to do color='red'
here?
} | ||
var encodedKey = encodeURIComponent(property); | ||
var encodedValue = encodeURIComponent(details[property]); | ||
formBody.push(encodedKey + '=' + encodedValue); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could use a string template here
🔨 Changes
Connected signup/login forms to the backend. I have changed the name for the Username/email part of the login form to just email, since the backend doesn't support logging in using username.
:squirrel: Testing instructions
📄 Relevant screenshots or documentation links
📋 Checklist