Check User Credentials
Previous Topic  Next Topic 

Verifies username and password. Note that this method does not log users in. It only verifies that the credentials presented are correct. It's a useful AJAX request to perform user validation before performing the /login action.


URL: /checkcredentialsajax


Example URL: http://host:port/checkcredentialsajax?username=USERNAME&password=PASSWORD


HTTP method: GET


Parameters: username, password


Result:


JSON:

for success "{'resultType':'success', message:''}"

for error "{'resultType':'error', message:'Incorrect login!'}"