parent
5af9a69a3b
commit
182b34243d
|
@ -156,7 +156,7 @@ class Auth::DefaultCurrentUserProvider
|
|||
path: @env['REQUEST_PATH'],
|
||||
client_ip: @request.ip,
|
||||
staff: user.staff?,
|
||||
impersonate: opts.impersonate)
|
||||
impersonate: opts[:impersonate])
|
||||
|
||||
cookies[TOKEN_COOKIE] = cookie_hash(@user_token.unhashed_auth_token)
|
||||
unstage_user(user)
|
||||
|
|
Loading…
Reference in New Issue