File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -53,11 +53,7 @@ const LoginComponent = () => {
5353 if ( signInResponse ?. error ) {
5454 setErrorMessage ( signInResponse . error )
5555 setLoading ( false )
56- } else {
57- setSuccessMessage ( 'Login Successful' )
58- setLoading ( false )
59- router . push ( '/' )
60- }
56+ }
6157 } catch ( error : any ) {
6258 console . error ( 'Error initiating cognito login:' , error ) ;
6359 setErrorMessage ( error . message )
@@ -104,7 +100,7 @@ const LoginComponent = () => {
104100 < br />
105101 < TextField
106102 label = "Email"
107- id = "input_email "
103+ id = "email "
108104 size = "small"
109105 variant = "standard"
110106 type = "text"
@@ -114,7 +110,7 @@ const LoginComponent = () => {
114110 />
115111 < TextField
116112 label = "Password"
117- id = "input_password "
113+ id = "password "
118114 size = "small"
119115 variant = "standard"
120116 type = "password"
You can’t perform that action at this time.
0 commit comments