Merge branch 'main' into glitch-soc/merge-upstream

This commit is contained in:
Claire
2022-05-26 22:49:47 +02:00
15 changed files with 61 additions and 10 deletions

View File

@ -12,4 +12,8 @@ module ApplicationExtension
def most_recently_used_access_token
@most_recently_used_access_token ||= access_tokens.where.not(last_used_at: nil).order(last_used_at: :desc).first
end
def confirmation_redirect_uri
redirect_uri.lines.first.strip
end
end