Fix controller auth specs

This commit is contained in:
Daniel Schädler 2026-04-29 00:32:46 +02:00
parent 08070fb87b
commit 11b15da215
1 changed files with 1 additions and 0 deletions

View File

@ -4,5 +4,6 @@ module AuthHelpers
def apply_authentication_headers_for(user)
user_headers = user.create_new_auth_token
request.headers.merge!(user_headers)
sign_in(user) if respond_to?(:sign_in)
end
end