Redirect after login / logout
At the moment, login and logout action, after being performed, redirect the user to the homepage. We need to support for the [LOGIN] qTag a redirect attribute (as we do with the [REGISTER] qTag) allowing to setup a target for redirecting the user after a successful login/logout.
Hello @damianoIlacqua https://github.com/quantacms/quanta/blob/da54fd0a03da729c8af788124bae926f8bcafecb/src/modules/user/hooks/user.hook.inc#L240 here is where the redirect variable is valorized in the register hook.
https://github.com/quantacms/quanta/blob/master/src/modules/user/hooks/user.hook.inc#L129 This is the login hook
https://github.com/quantacms/quanta/blob/master/src/modules/user/classes/Common/User.class.php#L210 This is the login function of the User object
Not the easiest one to get started :-) !