Skip to content
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

Substitute XHR for auto form action redirects? #50

Open
shannonjensen opened this issue Dec 8, 2017 · 0 comments
Open

Substitute XHR for auto form action redirects? #50

shannonjensen opened this issue Dec 8, 2017 · 0 comments

Comments

@shannonjensen
Copy link

Everything looks great, although as I'm sure you know, feeding the user to a new page to read the login/signup error isn't ideal. Especially since you are doing a single page application without the need for redirecting to a different html page, you can write an XHR request instead like you did with logout and then feed the errors to an html element

I'm sure you guys already knew this but otherwise looks really good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant