Modal Login plugin - redirect to user dashboard


On my multisite, the standard /wp-login.php redirects the user to their own dashboard, when they log in on the mainsite, and I use a mu-plugin to do this. I have bought this "Modal Login Register Forgotten Wordpress Plugin" from here: and i now want it to redirect users from the mainsite to their own dashboard when they log in.

This is the plugin code i think i will have to change, to redirect:
And this is the mu-plugin that redirects my users from /wp-login.php to their own dashboard:

Is it possible to use my current mu-plugin, in the modal login plugin file to redirect users?