Commit 064095cf authored by Małgorzata Ksionek's avatar Małgorzata Ksionek

Fix wrong naming

parent 4b5a2f75
......@@ -8,7 +8,7 @@ module EE
def leave
super
if current_user.authorized_by_provisioned_by_group? && membershipable == current_user.provisioned_by_group
if current_user.authorized_by_provisioning_group? && membershipable == current_user.provisioned_by_group
sign_out current_user
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment