File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export default {
4646
4747 async verifyEmail ( email : string ) {
4848 try {
49- const response = await axios . post ( `${ API_BASE_URL } /verify_email` , { email } ) ;
49+ const response = await axios . post ( `${ API_BASE_URL } /verify_email` , { email : email . toLowerCase ( ) } ) ;
5050 return response . data ;
5151 } catch ( error ) {
5252 toast ( {
Original file line number Diff line number Diff line change @@ -342,7 +342,7 @@ const Auth = () => {
342342 aria-label = "Enter work email ID"
343343 value = { email }
344344 disabled = { isEmbedded ? true : isOTPMode ? true : false }
345- onChange = { ( e ) => setEmail ( e . target . value ) }
345+ onChange = { ( e ) => setEmail ( e . target . value . toLowerCase ( ) ) }
346346 // just trigger the handleSignin function when enter is pressed in this input as well
347347 onKeyUp = { ( e ) => {
348348 if ( e . key === 'Enter' ) {
You can’t perform that action at this time.
0 commit comments