aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-04 13:02:19 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-04 13:02:19 +0200
commit91b8cbd178976c034cb2f9098e100a485c62322d (patch)
treea71feb52ac70c0ff52f38ed25da884b7ee6f7351
parentdf4800a1e7b9509ae587cfcaa0b7385cebb9d98d (diff)
downloadarctica-greeter-91b8cbd178976c034cb2f9098e100a485c62322d.tar.gz
arctica-greeter-91b8cbd178976c034cb2f9098e100a485c62322d.tar.bz2
arctica-greeter-91b8cbd178976c034cb2f9098e100a485c62322d.zip
Use RLS/pam_x2go.so API v5. The PAM prompt now queries "remote command:", not "x2gosession:".
-rw-r--r--src/user-list.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/user-list.vala b/src/user-list.vala
index 6ce5efe..3c4b2d2 100644
--- a/src/user-list.vala
+++ b/src/user-list.vala
@@ -22,7 +22,7 @@
int remote_server_field_sort_function (RemoteServerField? item1, RemoteServerField? item2)
{
- string[] sorted_fields = { "domain", "x2gosession" , "username", "email", "password"};
+ string[] sorted_fields = { "domain", "command" , "username", "email", "password"};
foreach (var field in sorted_fields)
{
if (item1.type == field)
@@ -704,7 +704,7 @@ public class UserList : GreeterList
entry.text = default_value;
widget = entry;
}
- else if (field.type == "x2gosession")
+ else if (field.type == "command")
{
var prompt = add_prompt (_("X2Go Session:"));
prompt.text = default_value;
@@ -1118,7 +1118,7 @@ public class UserList : GreeterList
var answer = field != null ? field.text : "";
ArcticaGreeter.singleton.respond (answer);
}
- else if (text == "x2gosession:")
+ else if (text == "remote command:")
{
Gtk.Entry field = current_remote_fields.get ("x2gosession") as Gtk.Entry;
var answer = field != null ? field.text : "";