Login Issue

I have a very unusual behavior that I do not know how to remedy.

When logging in the app used to work perfectly. Now the login will fail and takes the user to this page: https://gmadmin.org/dmxConnect/api/Security/login.php.

When this is opened it renders this on the page: {“identity”:1}

Anyone have any idea how I can return to a functioning login? I believe there is a breakdown on the globals security, but I cannot figure out how to fix it.

I really need help… there’s a meeting tomorrow morning and they will need to be able to login. Ha!

Thank you for your help!

What happens if you remove the Required validation on the server?

Thanks Ben for responding!

Are you referring to the form validation?

This is what shows immediately after pressing the submit button on the login form. It sends you to the dmxConnect/api/Security/ folder and opens the login.php file. Ha!

Then displays this:

Yes, on the server. Client side should not be a problem.

That appears to have worked! Let me try it with another browser.

On second thoughts, check to make sure that the value of the name attribute of the form inputs are the same as the $_POST inputs on the server.

Yes they are the same. I believe this issue may have started shortly after the global security identity was added about a week ago.

I just tried with Firefox and it failed. However, Safari works.

It’s still failing. I’m stumped. Ha!

Maybe I should just start over again rebuild the login and security.

Would these errors be an issue:

I’ve noticed that when I clear the history, the login works. Any thoughts?

Thanks Ben for your help. I’ve got it back… Chasing my tail was getting me no where, so I just rebuilt the login security scripts. All is working now.

Thanks again!

1 Like

Apologies for the late reply, I was in a meeting with a client. Good to see that the problem is solved. The good part with Wappler, it is faster to rebuild than to go hunting for errors.

You may be interested in this site that was built using Wappler; not by me but by a local guy.

No apology necessary my friend.

Very nice site indeed! Thank you for sharing it.

I finally found out what was causing the problem. It was the alert component. After looking for every login topic in the helps, I found one that mention using the Bootstrap Alert. When I removed it (.js and .css), it works without the identity issues, i.e., {“identity”:1}, as mentioned by manherna below.

What’s really weird is the Alert component worked fine with Safari, but not any other browsers.