1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-14 14:48:53 +09:00

delete unnecessary key (#4045)

* delete unnecessary key

* Add note
This commit is contained in:
MeiMei 2019-01-30 21:31:45 +09:00 committed by syuilo
parent 00b134ce1e
commit 79b0cc6785

View File

@ -311,6 +311,7 @@ export const pack = (
delete _user.password;
delete _user.token;
delete _user.twoFactorTempSecret;
delete _user.two_factor_temp_secret; // 後方互換性のため
delete _user.twoFactorSecret;
if (_user.twitter) {
delete _user.twitter.accessToken;