Update user profile

You can update some data of the profile of the current MBUser. In case of success it returns an updated MBUser as a parameter of the success block.

MBAuth.updateProfile(withName: "name", 
                     surname: "surname", 
                     phone: "1234567890", 
                     image: nil, 
                     data: nil, 
                     success: { user in
}, failure: { error in      
})

Last updated