Craft 3 Redirect after login based on User field i'd like to alter the after login redirect URL based on a User custom field, i encountered this but looks like it's not applicable to Craft 3.

I could re-write the whole UsersController class on a custom plugin but maybe there's another way?
I believe you could use Freeform's Element Connections to create a user registration form. In the form's Return URL setting it looks like there's some options to create some logic with {{ submission.id }}.