mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-24 03:03:07 +02:00
parent
00b134ce1e
commit
79b0cc6785
1 changed files with 1 additions and 0 deletions
|
@ -311,6 +311,7 @@ export const pack = (
|
||||||
delete _user.password;
|
delete _user.password;
|
||||||
delete _user.token;
|
delete _user.token;
|
||||||
delete _user.twoFactorTempSecret;
|
delete _user.twoFactorTempSecret;
|
||||||
|
delete _user.two_factor_temp_secret; // 後方互換性のため
|
||||||
delete _user.twoFactorSecret;
|
delete _user.twoFactorSecret;
|
||||||
if (_user.twitter) {
|
if (_user.twitter) {
|
||||||
delete _user.twitter.accessToken;
|
delete _user.twitter.accessToken;
|
||||||
|
|
Loading…
Reference in a new issue