0
나는 우리의 구문 분석 서버를 Elastic beanstalk 인스턴스로 옮겼습니다. 결과적으로 암호 재설정을 보내도록 전자 메일 어댑터로 mailgun을 설정해야했습니다.구문 분석 암호 재설정 전자 메일
내 문제는 이제 비밀번호 재설정 이메일에서 제공하는 링크가 작동하지 않는다는 것입니다 :
Cannot GET /apps/pvrdbvgDEY6K59NQ4TmoYuoKcy0SzCfp6gCGFGE0/request_password_reset?token=SDVc5xloR4OHmInFNEKXc7Wuz&username=testuser
코드
emailVerifyTokenValidityDuration: 2 * 60 * 60, // in seconds (2 hours = 7200 seconds)
preventLoginWithUnverifiedEmail: false, // defaults to false
publicServerURL: process.env.SERVER_URL || 'http://localhost:1337/parse',
appName: 'InStyle',
emailAdapter: {
module: 'parse-server-simple-mailgun-adapter',
options: {
fromAddress: '[email protected]',
domain: 'domain.com',
apiKey: 'key-EXAMPLE',
}
}