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),
|
with {:ok, user, user_token} <- fetch_user_and_token(token_str),
|
||||||
false <- Token.expired?(user_token) do
|
false <- Token.expired?(user_token) do
|
||||||
Token.update_activity()
|
Token.update_activity()
|
||||||
|
|
||||||
conn
|
conn
|
||||||
|> assign(:token, user_token)
|
|> assign(:token, user_token)
|
||||||
|> assign(:user, user)
|
|> assign(:user, user)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue