diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-07-19 21:35:57 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-07-19 21:35:57 +0300 |
commit | cf3f8cb72a46f0c8c798d4022cff442fae4ab401 (patch) | |
tree | 585b45b649a67efae1db0f22114b120d804031e8 /priv/gettext/pl | |
parent | 5d215fd81f529b639db9096ca71d4e7f0a6ed386 (diff) | |
download | pleroma-cf3f8cb72a46f0c8c798d4022cff442fae4ab401.tar.gz pleroma-cf3f8cb72a46f0c8c798d4022cff442fae4ab401.zip |
[#1940] Reinstated OAuth-less `admin_token` authentication. Refactored UserIsAdminPlug (freed from checking admin scopes presence).
Diffstat (limited to 'priv/gettext/pl')
-rw-r--r-- | priv/gettext/pl/LC_MESSAGES/errors.po | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/priv/gettext/pl/LC_MESSAGES/errors.po b/priv/gettext/pl/LC_MESSAGES/errors.po index 7241d8a0a..653ea00a1 100644 --- a/priv/gettext/pl/LC_MESSAGES/errors.po +++ b/priv/gettext/pl/LC_MESSAGES/errors.po @@ -566,9 +566,9 @@ msgstr "Nieoczekiwany błąd podczas zmieniania pliku w paczce." msgid "Unexpected error occurred while updating pack metadata." msgstr "Nieoczekiwany błąd podczas zmieniania metadanych paczki." -#: lib/pleroma/plugs/user_is_admin_plug.ex:40 +#: lib/pleroma/plugs/user_is_admin_plug.ex:21 #, elixir-format -msgid "User is not an admin or OAuth admin scope is not granted." +msgid "User is not an admin." msgstr "" #: lib/pleroma/web/mastodon_api/controllers/subscription_controller.ex:61 |