# login

Description the notification received after authorization on the server.

Example:

{
    "event": "login",
    "result": 0,
    "peerId": "user1@some.server",
    "peerDn": "user1",
    "method": "event"
}

Parameter description:

  • peerIdTrueConf ID unique user identifier

  • peerDn — User display name

  • result — Login result. It can be as follows:

    • 0 — Successful login

    • 1 — This user is already logged in

    • 2 — The user with this login was not found

    • 3 — The user with this login/password was not found

    • 4 — Login rejected

    • 5 — The number of online users on the server has reached the maximum limit

    • 6 — Account not activated

    • 7 — Busy server or other server issues

    • 8 — Cannot log in with this application type.

    • 9 — the user is waiting for the email with a link or registration confirmation code

    • 10 — the user account was locked

    • 11 — the email is in the blacklist

    • 65213 — the password has expired

See also: