There is an error in Connect.Libraries.UserManagement.GetVerificationCode, please add .ToString() at PortalID and UserID in your code (line 33): User.PortalID.ToString() + "-" + User.UserID.ToString()
There is an error in Connect.Libraries.UserManagement.GetVerificationCode, please add .ToString() at PortalID and UserID in your code (line 33):
User.PortalID.ToString() + "-" + User.UserID.ToString()