Ticket #464 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

xml.user.login / Add user information in response

Reported by: fxp Owned by: Fxp
Priority: trivial Milestone: v2.7.0
Component: General Version:
Keywords: Cc:

Description

Instead of returning only the login status

<?xml version="1.0" encoding="UTF-8"?>
<ok/>

Add the user information (without password) to the response :

<?xml version="1.0" encoding="UTF-8"?>
<ok>
  <record>
    <id>2</id>
    <username>fx</username>
    <surname>Prunayre</surname>
    <name>François-Xavier</name>
    <profile>Administrator</profile>
    <address>313 Chemin du four</address>
    <city />
    <state />
    <zip />
    <country>fr</country>
    <email />
    <organisation />
    <kind>other</kind>
  </record>
</ok>

Change History

Changed 2 years ago by fxp

Add info=true parameter to maintain backwards compatibility (discussed on IRC 20110308)

Changed 2 years ago by fxp

  • status changed from new to closed
  • resolution set to fixed

r7421

Note: See TracTickets for help on using tickets.