Summary
Add get-password-expiration endpoint to the api-moduled user portal for both OpenLDAP and Samba account providers.
Logged-in users can query their own password expiration info. Client UIs (e.g. CTI) can use this to prompt password change before expiry.
API
Endpoint: POST /api/get-password-expiration
Auth: Bearer token (from POST /api/login)
Response example:
{
"status": "success",
"message": "password_expiration",
"expired": false,
"expiration": "2026-12-21T07:51:25Z",
"must_change": false
}
Implementation PRs
Summary
Add
get-password-expirationendpoint to theapi-moduleduser portal for both OpenLDAP and Samba account providers.Logged-in users can query their own password expiration info. Client UIs (e.g. CTI) can use this to prompt password change before expiry.
API
Endpoint:
POST /api/get-password-expirationAuth: Bearer token (from
POST /api/login)Response example:
{ "status": "success", "message": "password_expiration", "expired": false, "expiration": "2026-12-21T07:51:25Z", "must_change": false }Implementation PRs