diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-12 18:22:43 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-12 18:22:43 +0200 |
commit | ce29624c6df83699a01808d68c19a2492864ffe8 (patch) | |
tree | 822f151d24ab6c04f20b0926f6290621c476e032 /app/channels | |
parent | 3d566279cb84aba6d07eaadebda6c059f2a58657 (diff) |
Fixing image upload limits, allowing webm, merge/unmerge events trigger
timeline reload in UI, other small fixes
Diffstat (limited to 'app/channels')
-rw-r--r-- | app/channels/application_cable/connection.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/channels/application_cable/connection.rb b/app/channels/application_cable/connection.rb index f7cbe5485..772b76a6e 100644 --- a/app/channels/application_cable/connection.rb +++ b/app/channels/application_cable/connection.rb @@ -10,7 +10,9 @@ module ApplicationCable protected def find_verified_user - if verified_user = env['warden'].user + verified_user = env['warden'].user + + if verified_user verified_user else reject_unauthorized_connection |