localhost : 3000에서 확인 이메일에 등록합니다. 나는 내 이메일을 열고 다음받은 편지함 쇼 메시지에 당신은 아래의 링크를 통해 계정 이메일을 확인할 수 있습니다 이미 등록 할 때 내 development.rb에 나는이오류로 인해이 사용자가 저장되지 않았습니다. 확인 토큰이 잘못되었습니다.
config.action_mailer.default_url_options = {:host => 'localhost:3000'}
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => 'smtp.gmail.com',
:port => '587',
:authentication => :plain,
:user_name => '[email protected]',
:password => 'mypassword',
:domain => 'localhost:3000',
:enable_starttls_auto => true
}
같은 추가 :이 링크를 클릭 계정을 확인합니다. 그것은 로컬 호스트로 리디렉션 : 3000/사용자/sign_in 그리고 난 내받은 편지함에 (내 accoun 확인)이 링크에서이 같은 다시 .IT 쇼 오류를 클릭하면 내가 성공적으로 나누었다 로그인 할 수 있습니다 : URL에
: http://localhost:3000/users/confirmation?confirmation_token=dWUeHVP_N7VzsVwvkNW5
meassage 오류 :
내가 링크를 클릭 내 이메일받은 편지함에서Resend confirmation instructions
1 error prohibited this user from being saved:
Confirmation token is invalid
"내 계정 확인"다시 내가 그것을 로컬 호스트로 리디렉션합니다 : 3000/사용자/sign_in. "내 계정 확인"링크를 다시 클릭하면 어떻게 localhost : 3000/users/sign_in으로 리디렉션 할 수 있습니까? 도와주세요!
궁금하십니까? –
예 저는 지금 –