We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81a35d3 commit 6b2528bCopy full SHA for 6b2528b
lib/faye_extensions/devise_auth.rb
@@ -1,6 +1,7 @@
1
class DeviseAuth
2
def incoming(message, callback)
3
if message['channel'] == "/meta/subscribe"
4
+ puts "MESSAGE: #{message.inspect}"
5
auth_token = message['ext']['auth_token']
6
user = User.find_by_authentication_token(auth_token)
7
if user
0 commit comments