LawsHosting
Verified User
If someone has an EOL OS, why doesn't DA alert them of the fact - it used to when CB was its own entity IIRC..... #justanidea
A full release change log is here:
DirectAdmin 1.670
The update should be automatically available for all installations subscribed to the current release channel.
/usr/local/directadmin/data/sessions/da_sess_*
? What made you to do it? We have developed a number of plugins for DirectAdmin (and I believe so did the other developers) where we rely on a password stored in the user session file. We use the password to do API calls to Directadmin. So what is behind the scene? What is the logic?We already expose the EOL flag in the DA version API endpoint. In next DA version it will be visible on the GUI as well.If someone has an EOL OS, why doesn't DA alert them of the fact - it used to when CB was its own entity IIRC..... #justanidea
Any plugin that already has access to the session hash does not need to know the user password to make API calls. The plugins can use the session hash to make requests with session-based authentication. In the same way as a user browser makes requests without a user password after the user has successfully logged in.
The session ID is exposed via the environment variables.
The same mechanism can be used in server-side plugin widgets and in server-side plugin pages. The session ID is exposed via the environment variables.