mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Merge pull request #2406 from meetcshah19/meet/fix-email-capitalization
Send lower case emails to backend
This commit is contained in:
@@ -50,7 +50,8 @@ export default function EnterEmailStep({
|
|||||||
// If everything is correct, go to the next step
|
// If everything is correct, go to the next step
|
||||||
if (!emailCheckBool) {
|
if (!emailCheckBool) {
|
||||||
try {
|
try {
|
||||||
await mutateAsync({ email });
|
await mutateAsync({ email: email.toLowerCase() });
|
||||||
|
setEmail(email.toLowerCase())
|
||||||
incrementStep();
|
incrementStep();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (axios.isAxiosError(e)) {
|
if (axios.isAxiosError(e)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user