add verification check and support
This commit is contained in:
1 parent
538dfd283e
commit
91c6792c5c
10 files changed
+90
-16
No files matched your search
@@ -1,3 +1,4 @@
|
||||
export * from './baseUrl';
|
||||
export * from './env';
|
||||
export * from './mode';
|
||||
export * from './verification';
|
||||
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Get verification url
|
||||
* @returns
|
||||
*/
|
||||
|
||||
import { getAuthBaseUrl } from './baseUrl';
|
||||
|
||||
export const getVerificationUrl = () => {
|
||||
const baseUrl = getAuthBaseUrl();
|
||||
const targetUrl = `${baseUrl}/user/verify?redirect=` + window.location.href;
|
||||
return targetUrl;
|
||||
};
|
||||
Reference in new issue
Block a user