mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 16:40:30 +00:00
requested changes
This commit is contained in:
@@ -49,15 +49,6 @@ export const SignUpPage = () => {
|
||||
// avoid multi submission
|
||||
if (isSubmitting) return;
|
||||
try {
|
||||
console.log(
|
||||
"Creating admin user...",
|
||||
JSON.stringify({
|
||||
email,
|
||||
password,
|
||||
fipsEnabled: config.fipsEnabled
|
||||
})
|
||||
);
|
||||
|
||||
const { privateKey, ...userPass } = await generateUserPassKey(
|
||||
email,
|
||||
password,
|
||||
|
||||
@@ -95,6 +95,7 @@ export const UserInfoSSOStep = ({
|
||||
if (!errorCheck) {
|
||||
// Generate a random pair of a public and a private key
|
||||
const { publicKey, privateKey } = await generateKeyPair(config.fipsEnabled);
|
||||
localStorage.setItem("PRIVATE_KEY", privateKey);
|
||||
|
||||
client.init(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user