Make mfa pages translatable
This commit is contained in:
parent
50a316cd63
commit
cadca083ea
4 changed files with 57 additions and 8 deletions
|
|
@ -6,6 +6,7 @@ defmodule Pleroma.Web.OAuth.MFAView do
|
|||
use Pleroma.Web, :view
|
||||
import Phoenix.HTML.Form
|
||||
alias Pleroma.MFA
|
||||
alias Pleroma.Web.Gettext
|
||||
|
||||
def render("mfa_response.json", %{token: token, user: user}) do
|
||||
%{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue