# 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:
peerId
— TrueConf ID unique user identifierpeerDn
— User display nameresult
— Login result. It can be as follows:0
— Successful login1
— This user is already logged in2
— The user with this login was not found3
— The user with this login/password was not found4
— Login rejected5
— The number of online users on the server has reached the maximum limit6
— Account not activated7
— Busy server or other server issues8
— Cannot log in with this application type.9
— the user is waiting for the email with a link or registration confirmation code10
— the user account was locked11
— the email is in the blacklist65213
— the password has expired
See also: