Opened 13 years ago

Closed 13 years ago

#464 closed enhancement (fixed)

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 (2)

comment:1 by fxp, 13 years ago

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

comment:2 by fxp, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.