Merge pull request #1944 from akhilmhdh/feat/srp-handover

Removing Master password for Oauth/SSO/LDAP users.
This commit is contained in:
Maidul Islam
2024-06-19 12:09:42 -04:00
committed by GitHub
40 changed files with 1348 additions and 356 deletions
@@ -161,6 +161,7 @@ export default function UserInfoStep({
const response = await completeAccountSignup({
email,
password,
firstName: name.split(" ")[0],
lastName: name.split(" ").slice(1).join(" "),
protectedKey,
@@ -72,6 +72,7 @@ const attemptChangePassword = ({ email, currentPassword, newPassword }: Params):
});
await changePassword({
password: newPassword,
clientProof,
protectedKey,
protectedKeyIV,
@@ -71,6 +71,7 @@ const attemptLogin = async ({
tag
} = await login2({
email,
password,
clientProof,
providerAuthToken,
captchaToken
@@ -62,6 +62,7 @@ const attemptLogin = async ({
} = await login2({
captchaToken,
email,
password,
clientProof,
providerAuthToken
});