Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2023-04-16 15:10:41 +02:00
parent 324c427a72
commit 6b4076ce10
2 changed files with 5 additions and 2 deletions

View file

@ -3,9 +3,9 @@ import { FormattedMessage, defineMessages, useIntl } from 'react-intl';
import { Link } from 'react-router-dom';
import { Button, Form, FormActions, FormGroup, Input, Stack } from 'soapbox/components/ui';
import { useFeatures } from 'soapbox/hooks';
import ConsumersList from './consumers-list';
import { useFeatures } from 'soapbox/hooks';
const messages = defineMessages({
username: {

View file

@ -600,7 +600,10 @@ const getInstanceFeatures = (instance: Instance) => {
/**
* Can sign in using username instead of e-mail address.
*/
logInWithUsername: v.software === PLEROMA || v.software === TRUTHSOCIAL,
logInWithUsername: any([
v.software === PLEROMA,
v.software === TRUTHSOCIAL,
]),
/**
* Can perform moderation actions with account and reports.