Magical Authentication with Sorcery

Thank you for your impact to RoR community. You’ve done excellent job.

In addition to already shown information, could you please provide us with an example of AJAX integration for login and signup processes, using for example bootstrap modals?

And also, could you please explain inclusion of shared/errors in views/users/new.html.erb? You didn’t mention it in your tutorial, but I see it in the source code.

Thank you in advance.