lint
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
324c427a72
commit
6b4076ce10
2 changed files with 5 additions and 2 deletions
|
@ -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: {
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue