has moved to IP address -- please double check where you are logging in.

Commit cb8119b3 authored by Mike Sheldon's avatar Mike Sheldon

Give correct header for getmobilesession

parent 24136352
......@@ -822,6 +822,8 @@ function method_auth_getMobileSession() {
$json_data = array('session' => array('name' => $username, 'key' => $session, 'subscriber' => 0));
} else {
header('Content-Type: text/xml');
print("<?xml version=\"1.0\"?>\n");
print("<lfm status=\"ok\">\n");
print(" <session>\n");
print(" <name>{$username}</name>\n");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment