feat: introducing server configurations in admin dashboard (#3628)
Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
This commit is contained in:
committed by
GitHub
parent
a8cc569786
commit
f3edd001d7
@@ -227,4 +227,9 @@ export const auth = {
|
||||
window.location.href = import.meta.env.VITE_ADMIN_URL;
|
||||
}
|
||||
},
|
||||
|
||||
getAllowedAuthProviders: async () => {
|
||||
const res = await authQuery.getProviders();
|
||||
return res.data?.providers;
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user