An account data sharing method, applied to a system including a first electronic device and a second electronic device, wherein the method comprises: starting, by the second electronic device, a first application, and displaying a first application interface, wherein the first application interface comprises an account input box (501,1002), a verification code input box (502,1003), and a verification code obtaining control; receiving, by the second electronic device, a first operation, wherein the first operation is used to enter account information in the account input box (501,1002); receiving, by the second electronic device, a second operation for the verification code obtaining control; and; sending, by the second electronic device, a verification code obtaining request to a server of the first application in response to the second operation; characterized in that, when the first electronic device receives the verification code within a preset duration from the server: sending, by the first electronic device, the verification code to the second electronic device; receiving, by the second electronic device, the verification code sent by the first electronic device, filling (S804e) the verification code into the verification code input box (502,1003); and; after filling (S804e) the verification code into the verification code input box (502,1003), logging in, by the second electronic device, to the first application by using the account information and the verification code; and, when the first electronic device receives the verification code after the preset duration, skipping sending, by the first electronic device, the verification code to the second electronic device. starting, by the second electronic device, a first application, and displaying a first application interface, wherein the first application interface comprises an account input box (501,1002), a verification code input box (502,1003), and a verification code obtaining control; receiving, by the second electronic device, a first operation, wherein the first operation is used to enter account information in the account input box (501,1002); receiving, by the second electronic device, a second operation for the verification code obtaining control; and; sending, by the second electronic device, a verification code obtaining request to a server of the first application in response to the second operation; characterized in that, when the first electronic device receives the verification code within a preset duration from the server: sending, by the first electronic device, the verification code to the second electronic device; receiving, by the second electronic device, the verification code sent by the first electronic device, filling (S804e) the verification code into the verification code input box (502,1003); and; after filling (S804e) the verification code into the verification code input box (502,1003), logging in, by the second electronic device, to the first application by using the account information and the verification code; and, sending, by the first electronic device, the verification code to the second electronic device; receiving, by the second electronic device, the verification code sent by the first electronic device, filling (S804e) the verification code into the verification code input box (502,1003); and; after filling (S804e) the verification code into the verification code input box (502,1003), logging in, by the second electronic device, to the first application by using the account information and the verification code; and, when the first electronic device receives the verification code after the preset duration, skipping sending, by the first electronic device, the verification code to the second electronic device.