Remove period from email message to avoid confusion

pull/303/head
Rick Carlino 2016-12-08 14:16:34 -06:00
parent 8be72fbde8
commit ca2a246335
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ class SessionToken < AbstractJwtToken
iat: Time.now.to_i,
exp: EXPIRY.from_now.to_i,
iss: $API_URL)
raise Errors::Forbidden, MUST_VERIFY unless (!user.verified?)
raise Errors::Forbidden, MUST_VERIFY unless user.verified?
self.new([{
sub: user.email,

View File

@ -15,7 +15,7 @@ module Users
private
def user
@user ||= User.find_by(verification_token: token)
@user ||= User.find_by!(verification_token: token)
end
end
end

View File

@ -1,6 +1,6 @@
Welcome to FarmBot, <%= @user_name %>
=====================================
You please verify your email by visiting <%= @the_url %>.
You please verify your email by visiting <%= @the_url %>
Thanks for joining and have a great day!