promptForgotPassword( )


Prompts the current site visitor with a password reset modal.

について promptForgotPassword() function returns a Promise that resolves when the visitor submits the Create New Password form.

If the visitor cancels the form without submitting it, the Promise is rejected.

promptForgotPassword() cannot be called before the page is ready.

注釈

  • The APIs in wix-メンバー-フロントエンド are only partially functional when previewing your site. View a published version of your site to see their complete functionality.

  • The APIs in wix-メンバー-フロントエンド can only be used once the page has loaded. Therefore, you must use them in code that is contained in or is called from the onReady() event handler or any element event handler.

  • If you return または await the promptForgotPassword() function when calling from onReady(), the page will be prevented from loading. To handle the resolved promise, use .then() そして .catch().

メソッド宣言
コピー
リクエスト
このメソッドはパラメータを取らない
役に立ちましたか?
はい
いいえ