feat: handle masked values only based on MFA

This commit is contained in:
Simon Emanuelsson
2024-08-26 10:48:11 +02:00
parent e3b97fcdf9
commit 61b722d9ad
3 changed files with 14 additions and 15 deletions

View File

@@ -10,7 +10,7 @@ export default async function EditProfileSlot({
}: PageArgs<LangParams>) {
setLang(params.lang)
const user = await serverClient().user.get({ mask: false })
const user = await serverClient().user.get()
if (!user || "error" in user) {
return null
}