mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-02 08:46:38 +00:00
♻️ refactor
This commit is contained in:
@@ -50,7 +50,9 @@ export default async function ResourceAuthPage(props: {
|
|||||||
if (res && res.status === 200) {
|
if (res && res.status === 200) {
|
||||||
authInfo = res.data.data;
|
authInfo = res.data.data;
|
||||||
}
|
}
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
console.error(e);
|
||||||
|
}
|
||||||
|
|
||||||
const getUser = cache(verifySession);
|
const getUser = cache(verifySession);
|
||||||
const user = await getUser({ skipCheckVerifyEmail: true });
|
const user = await getUser({ skipCheckVerifyEmail: true });
|
||||||
|
|||||||
Reference in New Issue
Block a user