Open m4v15 opened 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
app.js
username
password
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.
in you
app.js
you get the values forusername
andpassword
in the form in these lines: https://github.com/FACK1/fid-or/blob/master/Public/app.js#L2-L3This 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.