diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-07-27 12:56:34 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-07-27 12:56:34 +0200 |
commit | 00e4d918a3cf14a96d25822b6d65c7b6d8f00b63 (patch) | |
tree | 9aed0c16c8bd612dcfd1852cde5c2ac5c3a7f882 /app/controllers/application_controller.rb | |
parent | c44541a506347225539afeb2e124f3210c8b2065 (diff) | |
download | gitlab-ce-00e4d918a3cf14a96d25822b6d65c7b6d8f00b63.tar.gz |
Add authentication metrics for sessionless sign in
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |