mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Migrate to SRP and add change password dialog
Summary: Moves some auth-related UI components, like MFAConfig, out of core, and adds a new ChangePasswordDialog component for allowing direct password changes, replacing the old reset password link to hosted Cognito. Updates all MFA endpoints to use SRP for authentication. Also refactors MFAConfig into smaller files, and polishes up some parts of the UI to be more consistent with the login pages. Test Plan: New server and deployment tests. Updated existing tests. Reviewers: paulfitz Reviewed By: paulfitz Differential Revision: https://phab.getgrist.com/D3311
This commit is contained in:
3
stubs/app/client/ui/ChangePasswordDialog.ts
Normal file
3
stubs/app/client/ui/ChangePasswordDialog.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export function buildChangePasswordDialog() {
|
||||
return null;
|
||||
}
|
||||
8
stubs/app/client/ui/MFAConfig.ts
Normal file
8
stubs/app/client/ui/MFAConfig.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import {FullUser} from 'app/common/UserAPI';
|
||||
import {Disposable} from 'grainjs';
|
||||
|
||||
export class MFAConfig extends Disposable {
|
||||
constructor(_user: FullUser) { super(); }
|
||||
|
||||
public buildDom() { return null; }
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"extends": "../../buildtools/tsconfig-base.json",
|
||||
"references": [
|
||||
{ "path": "../../app/client" },
|
||||
{ "path": "../../app/common" },
|
||||
{ "path": "../../app/server" }
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user