forked from shaba/openuds
Updated client so it requests logout url if provided
This commit is contained in:
parent
e04239de55
commit
6585d8ff23
@ -654,7 +654,20 @@ namespace UdsAdmin.forms
|
||||
|
||||
private void MainForm_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
xmlrpc.UdsAdminService.Logout();
|
||||
string url = xmlrpc.UdsAdminService.Logout();
|
||||
if (url != "")
|
||||
{
|
||||
try
|
||||
{
|
||||
System.Net.WebRequest req = System.Net.WebRequest.Create(url);
|
||||
System.Net.WebResponse response = req.GetResponse();
|
||||
// We don't mind whatever result we get
|
||||
response.Close();
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void exitToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user