Creating User using API, password issue
When using the repetier server API on creation of a user the password for said user does not work. This is the format I am using for the API call
url = f'http://localhost:3344/printer/api/Ender_3_A?a=createUser&data={{\"login\": \"{username}\", \"name\": \"{username}\", \"password\": \"password\", \"permissions\": 1}}&apikey=APIKEY'
Comments
$http.post('/global/user/login', {login: $scope.login,
password: CryptoJS.SHA512(RSCom.getCookie('Csrf-Token') + CryptoJS.MD5($scope.login + $scope.password).toString()).toString(),
// password2: $scope.password,
rememberMe: $scope.rememberMe
})