If you visit a term's detail page (or even perform a search) and then try to log in to your TemaTres account, upon a successful login you get redirected to vocab/index.php, thus "losing" the page you were visiting prior to logging in.
The changes suggested in this pull request turn the login form into a modal, the main benefit of which is that TemaTres will now "remember" the page you came from before logging in.
If you visit a term's detail page (or even perform a search) and then try to log in to your TemaTres account, upon a successful login you get redirected to
vocab/index.php
, thus "losing" the page you were visiting prior to logging in.The changes suggested in this pull request turn the login form into a modal, the main benefit of which is that TemaTres will now "remember" the page you came from before logging in.