Username hashing

This commit is contained in:
Fedor Indutny 2023-02-08 09:14:59 -08:00 committed by GitHub
parent 27d44a746c
commit 8ed13b2247
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 255 additions and 69 deletions

View file

@ -25,7 +25,7 @@ import { ReserveUsernameError } from '../../../types/Username';
const DEFAULT_RESERVATION = {
username: 'abc.12',
previousUsername: undefined,
reservationToken: 'def',
hash: new Uint8Array(),
};
describe('electron/state/ducks/username', () => {