Skip to content
Snippets Groups Projects
Unverified Commit 48b8320e authored by rinsuki's avatar rinsuki Committed by GitHub
Browse files

Fix #6637 (#6638)

* Fix #6637

* fix lint
parent 9b2ed96c
No related branches found
Tags 12.47.0
No related merge requests found
......@@ -35,5 +35,8 @@ export default define(meta, async (ps, me) => {
throw new Error('cannot show info of admin');
}
return user;
return {
...user,
token: user.token != null ? '<MASKED>' : user.token,
};
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment