mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 02:59:24 +02:00
Fixed #2: now redirect to previous page after login
This commit is contained in:
parent
6274031f21
commit
80117212b8
4 changed files with 8 additions and 3 deletions
|
@ -30,7 +30,8 @@ export default new Router({
|
|||
{
|
||||
path: '/login',
|
||||
name: 'login',
|
||||
component: Login
|
||||
component: Login,
|
||||
props: (route) => ({ next: route.query.next || '/library' })
|
||||
},
|
||||
{
|
||||
path: '/logout',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue