Am using dhis2 v2.40.3.1 and am trying to customise the login page either using the custom js/css app(which does the something like using the API) or changing the css codes of the login.css file in “/dhis-web-commons/css/login.css” but the changes are not being applied. i also checked this jira ticket DHIS 2 Software - Issues - Jira they said that it works on version 2.40.3,2.39.5,2.38.6.
Did you check that the login page you are looking at is the legacy one? /dhis-web-commons/security/login.action?
It’s style.css not login.css,
# CSS
To insert CSS from a file called style.css you can interact with the files/style resource with a POST-request:
curl --data-binary @style.css "localhost/api/33/files/style"
-H "Content-Type:text/css" -u admin:district
You can fetch the CSS content with a GET-request:
/api/33/files/style
To remove the JavaScript content you can use a DELETE request.