Navigate to link after login

Is there any way to send a link to another user with access to the same repository? When we try to do that, we always end up at the root of the default repository after the login. If the user is already logged in, the link works, so there must be a way?
i tried to google possible solutions but they always involve creating sessions in php…

thanks in advance!

hello, no at the moment if user is not logged there is no mechanism to redirect her to the link AFTER the login.