|
@ -213,9 +213,7 @@ class ApplicationController < LinguaFrancaApplicationController |
|
|
expiry ||= (Time.now + 12.hours) |
|
|
expiry ||= (Time.now + 12.hours) |
|
|
session[:confirm_uid] = user.id |
|
|
session[:confirm_uid] = user.id |
|
|
UserMailer.send_mail :email_confirmation do |
|
|
UserMailer.send_mail :email_confirmation do |
|
|
{ |
|
|
EmailConfirmation.create(user_id: user.id, expiry: expiry, url: url) |
|
|
:args => EmailConfirmation.create(user_id: user.id, expiry: expiry, url: url) |
|
|
|
|
|
} |
|
|
|
|
|
end |
|
|
end |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|