Add keypair to local account

This commit is contained in:
Akihiko Odaki
2018-03-26 20:23:55 +09:00
parent 7b0f93464a
commit 001d5faac9
10 changed files with 146 additions and 0 deletions

View File

@@ -59,6 +59,7 @@ export type IUser = {
is_suspended: boolean;
keywords: string[];
account: {
keypair: string;
email: string;
links: string[];
password: string;
@@ -160,6 +161,7 @@ export const pack = (
delete _user.latest_post;
// Remove private properties
delete _user.account.keypair;
delete _user.account.password;
delete _user.account.token;
delete _user.account.two_factor_temp_secret;