Commit 52c1c3c9 authored by Rajendra Kadam's avatar Rajendra Kadam

Disable cop for create method in login helpers

parent 3752aa59
......@@ -40,7 +40,7 @@ module LoginHelpers
if user_or_role.is_a?(User)
user_or_role
else
create!(user_or_role)
create(user_or_role) # rubocop:disable Rails/SaveBang
end
gitlab_sign_in_with(user, **kwargs)
......
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