The salt is kept on the server, so you can just fetch it again when switching devices.
However, on the long term, we plan on considering passwords more of a backup feature, and instead move to a model where you just authorise your devices from running devices (though can always fallback to passwords).