FACK1 / fid-or

0 stars 1 forks source link

Bug in Posting registration #25

Open m4v15 opened 5 years ago

m4v15 commented 5 years ago

in you app.js you get the values for username and password in the form in these lines: https://github.com/FACK1/fid-or/blob/master/Public/app.js#L2-L3

This is correct, but because this script is called straight away, the value of these two will be what it is on page load - i.e. empty string. You should do lines 2-7 inside the event listener.