mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 20:55:44 +02:00
Merge pull request #1879 from internetee/tara-key-fix
Fix CookieOverflow error using current Tara test keys
This commit is contained in:
commit
c521bc240e
3 changed files with 20 additions and 2 deletions
|
@ -14,7 +14,7 @@ module Sso
|
|||
|
||||
# rubocop:disable Style/AndOr
|
||||
def callback(user, registrar: true)
|
||||
session[:omniauth_hash] = user_hash
|
||||
session[:omniauth_hash] = user_hash.delete_if { |key, _| key == 'credentials' }
|
||||
(show_error(registrar: registrar) and return) unless user
|
||||
|
||||
flash[:notice] = t(:signed_in_successfully)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue