config/initializers/omniauth.rb in wordjelly-auth-1.2.5 vs config/initializers/omniauth.rb in wordjelly-auth-1.2.6
- old
+ new
@@ -410,13 +410,10 @@
self.authentication_token_expires_at = Time.now.to_i + Auth.configuration.token_regeneration_time
end
## CHANGE THE AUTHENTICATION TOKEN WHENEVER THE USER IS SAVED. IT DOESNT MATTER IF THERE IS AN EXISTING AUTHENTICATION TOKEN OR NOT.
def ensure_authentication_token
- #if authentication_token.blank?
- #puts "------------------CAME TO ENSURE AUTHENTICATION TOKEN--------------------"
regenerate_token
- #end
end
end
module TokenAuthenticationHandler