lib/janus/strategies/remote_authenticatable.rb in janus-0.6.0 vs lib/janus/strategies/remote_authenticatable.rb in janus-0.7.0

- old
+ new

@@ -6,10 +6,10 @@ resource.include?(Janus::Models::RemoteAuthenticatable) && !remote_token.nil? end def authenticate! user = resource.find_for_remote_authentication(remote_token) - + if user success!(user) else pass end