usbong / UsbongStore

The "Usbong Store (Web)" is built using the Usbong eCOM Toolkit. It enables multiple merchants to offer their products via only one store *web* app.
0 stars 1 forks source link

Auto-transferred to "localhost/dashboard" after entering incorrect Email Address and Password in the Login/Sign in page #121

Closed masarapmabuhay closed 6 years ago

masarapmabuhay commented 6 years ago

Hi Zent, I hope you are doing well.

I've set the Mobile Responsiveness switch to TRUE in my local server.

In the Login/Sign in page, if the Email Address and the Password are incorrect, I am transferred to "localhost/dashboard" after clicking "OK" in the Alert Message.

This is instead of the front page of the Usbong Store.

What could be the probable cause?

Thank you.

Peace, Mike

zent-lim commented 6 years ago

Good Day Mike,

I think you are referring to this:

error

BACKGROUND

(1) This logic is not part of my code. Meaning, the same scenario happens even if you set the switch to off.

(2) I found the logic odd and raised a related issue in ticket 115: https://github.com/usbong/UsbongStore/issues/115

You however said that the logic was functioning as intended.

ANSWER

Regarding your question on what causes the logic, kindly see issue 115.

I sent a js snip from file controllers/b.

Have a good day ahead.

masarapmabuhay commented 6 years ago

Hi Zent, Thank you for the reply.

OK! I have resolved the issue here: https://github.com/usbong/UsbongStore/commit/7abf9cc78425551eb2b42c7c6243133cb5c8495f

I've also updated the name of this issue:

Auto-transferred to "localhost/dashboard" after entering incorrect Email Address and Password in the Login/Sign in page

In particular, I removed "Mobile Responsiveness".

Thank you.

Peace, Mike

zent-lim commented 6 years ago

Thanks for the info Mike!

On Fri, Oct 19, 2018, 9:00 PM Masarap Mabuhay, notifications@github.com wrote:

Hi Zent, Thank you for the reply.

OK! I have resolved the issue here: 7abf9cc https://github.com/usbong/UsbongStore/commit/7abf9cc78425551eb2b42c7c6243133cb5c8495f

I've also updated the name of this issue:

Auto-transferred to "localhost/dashboard" after entering incorrect Email Address and Password in the Login/Sign in page

In particular, I removed "Mobile Responsiveness".

Thank you.

Peace, Mike

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/usbong/UsbongStore/issues/121#issuecomment-431354903, or mute the thread https://github.com/notifications/unsubscribe-auth/AHplT224SZApLQ-RyEj4ba4W8Cro4_Qqks5umczTgaJpZM4XeSCo .