lint
This commit is contained in:
parent
ae6e32c635
commit
ff89b67d55
1 changed files with 1 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ defmodule Pleroma.Web.Plugs.OAuthPlug do
|
|||
with {:ok, user, user_token} <- fetch_user_and_token(token_str),
|
||||
false <- Token.expired?(user_token) do
|
||||
Token.update_activity()
|
||||
|
||||
conn
|
||||
|> assign(:token, user_token)
|
||||
|> assign(:user, user)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue