Skip to content

Commit e89ae1d

Browse files
committed
adding dev-v0.12.8 tag to this commit to ensure building
1 parent 2f7fe3c commit e89ae1d

File tree

3 files changed

+10
-13
lines changed

3 files changed

+10
-13
lines changed

html/supertokens_python/constants.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ <h1 class="title">Module <code>supertokens_python.constants</code></h1>
5353
&#34;2.19&#34;,
5454
&#34;2.20&#34;,
5555
]
56-
VERSION = &#34;0.12.7&#34;
56+
VERSION = &#34;0.12.8&#34;
5757
TELEMETRY = &#34;/telemetry&#34;
5858
USER_COUNT = &#34;/users/count&#34;
5959
USER_DELETE = &#34;/user/remove&#34;

html/supertokens_python/recipe/dashboard/api/index.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
713713
raise Exception(&#34;Should not come here&#34;)
714714

715715
async def reset_password(
716-
recipe: Any, # FIXME
716+
form_fields: List[NormalisedFormField],
717717
create_reset_password_token: Callable[
718718
[str],
719719
Awaitable[
@@ -732,7 +732,6 @@ <h2 class="section-title" id="header-functions">Functions</h2>
732732
) -&gt; Union[
733733
UserPasswordPutAPIResponse, UserPasswordPutAPIInvalidPasswordErrorResponse
734734
]:
735-
form_fields: List[NormalisedFormField] = recipe.get_instance().config.sign_up_feature.form_fields # type: ignore # FIXME?
736735
password_form_field = [
737736
field for field in form_fields if field.id == FORM_FIELD_PASSWORD_ID
738737
][0]
@@ -765,14 +764,14 @@ <h2 class="section-title" id="header-functions">Functions</h2>
765764

766765
if recipe_to_use == &#34;emailpassword&#34;:
767766
return await reset_password(
768-
EmailPasswordRecipe,
767+
EmailPasswordRecipe.get_instance().config.sign_up_feature.form_fields,
769768
ep_create_reset_password_token,
770769
ep_reset_password_using_token,
771770
)
772771

773772
if recipe_to_use == &#34;thirdpartyemailpassword&#34;:
774773
return await reset_password(
775-
ThirdPartyEmailPasswordRecipe,
774+
ThirdPartyEmailPasswordRecipe.get_instance().email_password_recipe.config.sign_up_feature.form_fields,
776775
tpep_create_reset_password_token,
777776
tpep_reset_password_using_token,
778777
)</code></pre>

html/supertokens_python/recipe/dashboard/api/userdetails/user_password_put.html

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ <h1 class="title">Module <code>supertokens_python.recipe.dashboard.api.userdetai
9898
raise Exception(&#34;Should not come here&#34;)
9999

100100
async def reset_password(
101-
recipe: Any, # FIXME
101+
form_fields: List[NormalisedFormField],
102102
create_reset_password_token: Callable[
103103
[str],
104104
Awaitable[
@@ -117,7 +117,6 @@ <h1 class="title">Module <code>supertokens_python.recipe.dashboard.api.userdetai
117117
) -&gt; Union[
118118
UserPasswordPutAPIResponse, UserPasswordPutAPIInvalidPasswordErrorResponse
119119
]:
120-
form_fields: List[NormalisedFormField] = recipe.get_instance().config.sign_up_feature.form_fields # type: ignore # FIXME?
121120
password_form_field = [
122121
field for field in form_fields if field.id == FORM_FIELD_PASSWORD_ID
123122
][0]
@@ -150,14 +149,14 @@ <h1 class="title">Module <code>supertokens_python.recipe.dashboard.api.userdetai
150149

151150
if recipe_to_use == &#34;emailpassword&#34;:
152151
return await reset_password(
153-
EmailPasswordRecipe,
152+
EmailPasswordRecipe.get_instance().config.sign_up_feature.form_fields,
154153
ep_create_reset_password_token,
155154
ep_reset_password_using_token,
156155
)
157156

158157
if recipe_to_use == &#34;thirdpartyemailpassword&#34;:
159158
return await reset_password(
160-
ThirdPartyEmailPasswordRecipe,
159+
ThirdPartyEmailPasswordRecipe.get_instance().email_password_recipe.config.sign_up_feature.form_fields,
161160
tpep_create_reset_password_token,
162161
tpep_reset_password_using_token,
163162
)</code></pre>
@@ -213,7 +212,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
213212
raise Exception(&#34;Should not come here&#34;)
214213

215214
async def reset_password(
216-
recipe: Any, # FIXME
215+
form_fields: List[NormalisedFormField],
217216
create_reset_password_token: Callable[
218217
[str],
219218
Awaitable[
@@ -232,7 +231,6 @@ <h2 class="section-title" id="header-functions">Functions</h2>
232231
) -&gt; Union[
233232
UserPasswordPutAPIResponse, UserPasswordPutAPIInvalidPasswordErrorResponse
234233
]:
235-
form_fields: List[NormalisedFormField] = recipe.get_instance().config.sign_up_feature.form_fields # type: ignore # FIXME?
236234
password_form_field = [
237235
field for field in form_fields if field.id == FORM_FIELD_PASSWORD_ID
238236
][0]
@@ -265,14 +263,14 @@ <h2 class="section-title" id="header-functions">Functions</h2>
265263

266264
if recipe_to_use == &#34;emailpassword&#34;:
267265
return await reset_password(
268-
EmailPasswordRecipe,
266+
EmailPasswordRecipe.get_instance().config.sign_up_feature.form_fields,
269267
ep_create_reset_password_token,
270268
ep_reset_password_using_token,
271269
)
272270

273271
if recipe_to_use == &#34;thirdpartyemailpassword&#34;:
274272
return await reset_password(
275-
ThirdPartyEmailPasswordRecipe,
273+
ThirdPartyEmailPasswordRecipe.get_instance().email_password_recipe.config.sign_up_feature.form_fields,
276274
tpep_create_reset_password_token,
277275
tpep_reset_password_using_token,
278276
)</code></pre>

0 commit comments

Comments
 (0)