I'm using standard html form for login. like this
<form submit.delegate="login()">
<input name="email" type="text">
<input class="form-control" name="password" type="password">
<button type="submit>SUBMIT</button>
</form>
The problem I'm facing is that sometimes the submit.delegate messes up and redirects me to url where all params are in plaintext like this http://localhost:9001/?email=myemail%40gmail.com&password=12345. How can I stop that? I could switch form to div instead beacuse I'm really only using it so enter key would automatically submit it? Should I do that or is there some better way to tell form to do nothing after login() method call? Keep in mind creating object and posting it is done programmatically so form doesn't have anything to do with that.
<form method=post>POSTrequests, or better yetoAuth.Cannot POST /