Add config option to force verification (#29)
* Add config option to force verification If this is set, users will not have the option to skip verification on login (they will still be able to reload and continue unverified, currently). Default off. * Test for complete security dialog * I hadn't set up prettier
This commit is contained in:
parent
75918f5b18
commit
a701e3afd7
4 changed files with 87 additions and 1 deletions
|
@ -108,6 +108,7 @@ export function createTestClient(): MatrixClient {
|
|||
|
||||
secretStorage: {
|
||||
get: jest.fn(),
|
||||
isStored: jest.fn().mockReturnValue(false),
|
||||
},
|
||||
|
||||
store: {
|
||||
|
@ -128,6 +129,7 @@ export function createTestClient(): MatrixClient {
|
|||
getDeviceVerificationStatus: jest.fn(),
|
||||
resetKeyBackup: jest.fn(),
|
||||
isEncryptionEnabledInRoom: jest.fn(),
|
||||
getVerificationRequestsToDeviceInProgress: jest.fn().mockReturnValue([]),
|
||||
}),
|
||||
|
||||
getPushActionsForEvent: jest.fn(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue