Login redirect not working
Following the changes made in !1680 (merged), the user is not redirected to the library page when they log in.
Steps to reproduce
- Visit the login page
- Log in to your account
What happens?
The user is logged in but not redirected.
What is expected?
The user should be redirected to the library page.
Context
Funkwhale version(s) affected: 1.2.2+git.341bcf5b
Uncaught (in promise) TypeError: this.$router is undefined
login https://tanukitunes.com/front/assets/index.caf45cf6.js:8
promise callback*login/< https://tanukitunes.com/front/assets/index.caf45cf6.js:8
promise callback*login https://tanukitunes.com/front/assets/index.caf45cf6.js:8
o2 https://tanukitunes.com/front/assets/vendor.1d989956.js:64
dispatch https://tanukitunes.com/front/assets/vendor.1d989956.js:64
dispatch https://tanukitunes.com/front/assets/vendor.1d989956.js:64
submitSession https://tanukitunes.com/front/assets/LoginForm.f2515df3.js:1
submit https://tanukitunes.com/front/assets/LoginForm.f2515df3.js:1
submit https://tanukitunes.com/front/assets/LoginForm.f2515df3.js:1
xs https://tanukitunes.com/front/assets/vendor.1d989956.js:24
n https://tanukitunes.com/front/assets/vendor.1d989956.js:24
_wrapper https://tanukitunes.com/front/assets/vendor.1d989956.js:24