2016-11-14 9 views
1

自分のアプリケーションで自分のローカルパースサーバーを実装しようとしています。ユーザーのパスワードを再設定する以外はすべて正常に動作しています。Parse-server:パスワードのリセット

私は、次のエラー

(node:8729) UnhandledPromiseRejectionWarning: Unhandledpromiserejection 
(rejection id: 2): Error: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> 
<title>404 Not Found</title><h1>Not Found</h1><p>The requested URL was not found on 
the server.</p> 
<p>If you entered the URL manually please check your spelling and try again.</p> 
+0

解決したのですか?私は同じ問題を抱えています。 –

答えて

0

を受け取るあなたはindex.jsで構成された電子メールアダプタを持っていますか?

メールの確認やパスワード、ドキュメントごとに

確認、ユーザーの電子メールアドレスをリセットし、電子メールを介してパスワードのリセットを有効にすると、電子メールのアダプターが必要です。解析サーバパッケージの一環として、Mailgunを介して電子メールを送信するためのアダプタを提供しています。これを使用するには、Mailgunにサインアップして、あなたの初期化コードにこれを追加します。あなたは今まで、これは

var server = ParseServer({ 
    ...otherOptions, 

    // Your apps name. This will appear in the subject and body of the emails that are sent. 
    appName: 'Parse App', 

    // The email adapter 
    emailAdapter: { 
     module: 'parse-server-simple-mailgun-adapter', 
     options: { 
      // The address that your emails come from 
      fromAddress: '[email protected]', 
      // Your domain from mailgun.com 
      domain: 'example.com', 
      // Your API key from mailgun.com 
      apiKey: 'key-mykey', 
     } 
    }, 

    ...otherOptions 
}); 
関連する問題