Change redirect link for /login when already logged in
When my user is already logged in, and the user visits /login, it redirects to their profile page.
How can I make it redirect to root instead?
I ended up creating an oauth plugin for my app based off of this skeleton:
and instead linked it to https://forum.mysite.com/auth/myapp and it performs the intended functionality.