Login with NSEC and HEX private key formats. Proper errors. #66

Merged
b merged 5 commits from issue-45 into main 2024-05-24 08:35:33 +00:00
Showing only changes of commit dada1eebc5 - Show all commits

View File

@ -358,7 +358,7 @@ export const Login = () => {
<Typography variant="h4">Welcome to Sigit</Typography>
<TextField
onKeyDown={handleInputKeyDown}
label="nip05 login / nip46 bunker string / nsec / private key (hex)"
label="nip05 login / nip46 bunker string"
y marked this conversation as resolved Outdated
Outdated
Review

Shouldn't nsec be one of the options?

Shouldn't `nsec` be one of the options?
Outdated
Review

@b said that we should not display it so we do not encourage users to use it. But it is visible in the error message if user types in something wrong.

@b said that we should not display it so we do not encourage users to use it. But it is visible in the error message if user types in something wrong.
value={inputValue}
onChange={(e) => setInputValue(e.target.value)}
sx={{ width: '100%', mt: 2 }}