Name of variable / response generated when a user tries to log in
This is a bit of a random one, but I have been looking at creating an app where users can register and login using the same database backend that exists for a website. I have the registration working where a new record is successfully created in the DB when someone registers in the app.
But I haven't quite got the login to work - I'm using some JS request to grab the response of the login check - am I right in thinking if the login is successful the response to look for would be 'Log in success'?
I'm just getting that from the line:
<?php if(WA_Auth_RulePasses("Log in success")){ // Begin Show Region ?>
in the login page.
Hope that makes some sense, and I'm barking up the right tree, although its confused further by some reference to JSON which I'm not really familiar with, and don't think there is any JSON on the log in web page.
Thanks for any pointers - but I think all I need to confirm is the correct value of any response for a successful login.