File tree Expand file tree Collapse file tree 3 files changed +18
-3
lines changed
with-django/with-thirdpartyemailpassword/project
with-fastapi/with-thirdpartyemailpassword
with-flask/with-thirdpartyemailpassword Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 22
22
get_all_cors_headers ,
23
23
init ,
24
24
)
25
- from supertokens_python .recipe import session , thirdpartyemailpassword
25
+ from supertokens_python .recipe import (
26
+ session ,
27
+ thirdpartyemailpassword ,
28
+ emailverification ,
29
+ )
26
30
from supertokens_python .recipe .thirdpartyemailpassword import (
27
31
Apple ,
28
32
Discord ,
@@ -62,6 +66,7 @@ def get_website_domain():
62
66
mode = "wsgi" ,
63
67
recipe_list = [
64
68
session .init (),
69
+ emailverification .init ("REQUIRED" ),
65
70
thirdpartyemailpassword .init (
66
71
providers = [
67
72
Google (
Original file line number Diff line number Diff line change 13
13
init ,
14
14
)
15
15
from supertokens_python .framework .fastapi import get_middleware
16
- from supertokens_python .recipe import session , thirdpartyemailpassword
16
+ from supertokens_python .recipe import (
17
+ session ,
18
+ thirdpartyemailpassword ,
19
+ emailverification ,
20
+ )
17
21
from supertokens_python .recipe .session import SessionContainer
18
22
from supertokens_python .recipe .session .framework .fastapi import verify_session
19
23
from supertokens_python .recipe .thirdpartyemailpassword import (
@@ -52,6 +56,7 @@ def get_website_domain():
52
56
framework = "fastapi" ,
53
57
recipe_list = [
54
58
session .init (),
59
+ emailverification .init ("REQUIRED" ),
55
60
thirdpartyemailpassword .init (
56
61
providers = [
57
62
Google (
Original file line number Diff line number Diff line change 10
10
init ,
11
11
)
12
12
from supertokens_python .framework .flask import Middleware
13
- from supertokens_python .recipe import session , thirdpartyemailpassword
13
+ from supertokens_python .recipe import (
14
+ session ,
15
+ thirdpartyemailpassword ,
16
+ emailverification ,
17
+ )
14
18
from supertokens_python .recipe .session .framework .flask import verify_session
15
19
from supertokens_python .recipe .thirdpartyemailpassword import (
16
20
Apple ,
@@ -45,6 +49,7 @@ def get_website_domain():
45
49
framework = "flask" ,
46
50
recipe_list = [
47
51
session .init (),
52
+ emailverification .init ("REQUIRED" ),
48
53
thirdpartyemailpassword .init (
49
54
providers = [
50
55
Google (
You can’t perform that action at this time.
0 commit comments