oops
This commit is contained in:
parent
bbdbf58b66
commit
f308f4dccf
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ defmodule Pleroma.Web.Plugs.OAuthPlug do
|
||||||
with true <- needs_update?(user_token),
|
with true <- needs_update?(user_token),
|
||||||
{:ok, updated_token} <- Token.update_activity(user_token) do
|
{:ok, updated_token} <- Token.update_activity(user_token) do
|
||||||
conn
|
conn
|
||||||
|> assign(conn, :token, updated_token)
|
|> assign(:token, updated_token)
|
||||||
|> assign(:user, user)
|
|> assign(:user, user)
|
||||||
else
|
else
|
||||||
_ ->
|
_ ->
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue