We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://www.zabbix.com/documentation/5.4/en/manual/api/changes_5.2_-_5.4 ZBXNEXT-6474 user.login: Renamed parameter user → username.
ZBXNEXT-6474 user.login: Renamed parameter user → username.
https://www.zabbix.com/documentation/6.4/en/manual/api/changes ZBXNEXT-8085 user.login: Removed support for deprecated parameter user.
ZBXNEXT-8085 user.login: Removed support for deprecated parameter user.
So, starting from 6.4, in jsonrpc.js:21 instead of: this.call('user.login', {user: user, password: pass}, function(result) { must be: this.call('user.login', {username: user, password: pass}, function(result) {
this.call('user.login', {user: user, password: pass}, function(result) {
this.call('user.login', {username: user, password: pass}, function(result) {
The text was updated successfully, but these errors were encountered:
Thank you Oleksii. Do you have an idea how to make it backward compatible? Can you create PR, please?
Sorry, something went wrong.
I'm not JS programmer, so I could not prepare a PR, sorry.
It probably makes sense to check firsts API version and then, based on the results, use corresponding data for Login request. https://www.zabbix.com/documentation/6.4/en/manual/api/reference/apiinfo/version
Any plans on fixing this? I just tried it and still doesn't work. user --> username
@JayTea144 @zalexua Could you test, pls? This should fix a problem - 9fbc251 but I'm not able to test it on my own.
No branches or pull requests
https://www.zabbix.com/documentation/5.4/en/manual/api/changes_5.2_-_5.4
ZBXNEXT-6474 user.login: Renamed parameter user → username.
https://www.zabbix.com/documentation/6.4/en/manual/api/changes
ZBXNEXT-8085 user.login: Removed support for deprecated parameter user.
So, starting from 6.4, in jsonrpc.js:21 instead of:
this.call('user.login', {user: user, password: pass}, function(result) {
must be:
this.call('user.login', {username: user, password: pass}, function(result) {
The text was updated successfully, but these errors were encountered: