Skip to content

Commit

Permalink
FIX: log session when users are logged out
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoMcA committed Apr 11, 2019
1 parent c4221c5 commit 8d91540
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/mozilla_iam/application_extensions.rb
Expand Up @@ -38,7 +38,8 @@ def check_iam_session
unless Profile.for(current_user).is_aal_enough?(aal)
raise <<~EOF
Mozilla IAM: AAL not enough, user logged out
user_id: #{current_user.id}, aal: #{aal}
user_id: #{current_user.id}, aal: #{aal},
session: #{session.to_hash}
EOF
end
end
Expand Down
2 changes: 1 addition & 1 deletion plugin.rb
@@ -1,6 +1,6 @@
# name: mozilla-iam
# about: A plugin to integrate Discourse with Mozilla's Identity and Access Management (IAM) system
# version: 1.1.4
# version: 1.1.5
# authors: Leo McArdle
# url: https://github.com/mozilla/discourse-mozilla-iam

Expand Down

0 comments on commit 8d91540

Please sign in to comment.