mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-03-13 06:30:01 +01:00
use password input in uia password stage
This commit is contained in:
parent
aa359b7a05
commit
b7a7a37eaf
1 changed files with 3 additions and 14 deletions
|
@ -1,20 +1,9 @@
|
|||
import {
|
||||
Box,
|
||||
Button,
|
||||
color,
|
||||
config,
|
||||
Dialog,
|
||||
Header,
|
||||
Icon,
|
||||
IconButton,
|
||||
Icons,
|
||||
Input,
|
||||
Text,
|
||||
} from 'folds';
|
||||
import { Box, Button, color, config, Dialog, Header, Icon, IconButton, Icons, Text } from 'folds';
|
||||
import React, { FormEventHandler } from 'react';
|
||||
import { AuthType } from 'matrix-js-sdk';
|
||||
import { StageComponentProps } from './types';
|
||||
import { ErrorCode } from '../../cs-errorcode';
|
||||
import { PasswordInput } from '../password-input/PasswordInput';
|
||||
|
||||
export function PasswordStage({
|
||||
stageData,
|
||||
|
@ -74,7 +63,7 @@ export function PasswordStage({
|
|||
</Text>
|
||||
<Box direction="Column" gap="100">
|
||||
<Text size="L400">Password</Text>
|
||||
<Input type="password" name="passwordInput" outlined autoFocus required />
|
||||
<PasswordInput size="400" name="passwordInput" outlined autoFocus required />
|
||||
{errorCode && (
|
||||
<Box alignItems="Center" gap="100" style={{ color: color.Critical.Main }}>
|
||||
<Icon size="50" src={Icons.Warning} filled />
|
||||
|
|
Loading…
Reference in a new issue