mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-11-02 05:57:07 +00:00
added wallets embed
This commit is contained in:
@@ -371,7 +371,7 @@ async function getUserPermission(payload, isFromExtension) {
|
||||
});
|
||||
}
|
||||
|
||||
export const getUserAccount = async ({ isFromExtension, appInfo }) => {
|
||||
export const getUserAccount = async ({ isFromExtension, appInfo, skipAuth }) => {
|
||||
try {
|
||||
const value =
|
||||
(await getPermission(`qAPPAutoAuth-${appInfo?.name}`)) || false;
|
||||
@@ -379,6 +379,9 @@ export const getUserAccount = async ({ isFromExtension, appInfo }) => {
|
||||
if (value) {
|
||||
skip = true;
|
||||
}
|
||||
if(skipAuth){
|
||||
skip = true
|
||||
}
|
||||
let resPermission;
|
||||
if (!skip) {
|
||||
resPermission = await getUserPermission(
|
||||
|
||||
Reference in New Issue
Block a user