From 00e4d918a3cf14a96d25822b6d65c7b6d8f00b63 Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Fri, 27 Jul 2018 12:56:34 +0200 Subject: Add authentication metrics for sessionless sign in --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/application_controller.rb') diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index f45fcd4d900..00e8948ac6e 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -378,7 +378,7 @@ class ApplicationController < ActionController::Base # actually stored in the session and a token is needed # for every request. If you want the token to work as a # sign in token, you can simply remove store: false. - sign_in user, store: false + sign_in(user, store: false, message: :sessionless_sign_in) end end -- cgit v1.2.1