diff options
author | Robert Tari <robert@tari.in> | 2023-07-02 16:29:26 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2023-07-02 16:31:14 +0200 |
commit | d4e7229a0638624b82e32f5d12d4a70fad1988e0 (patch) | |
tree | b1e2a8ee787dc5393d19e7634d26339d09fb510a | |
parent | f775bdc11ce77199ff01ef1b04dd082dc55b2f1d (diff) | |
download | arctica-greeter-d4e7229a0638624b82e32f5d12d4a70fad1988e0.tar.gz arctica-greeter-d4e7229a0638624b82e32f5d12d4a70fad1988e0.tar.bz2 arctica-greeter-d4e7229a0638624b82e32f5d12d4a70fad1988e0.zip |
src/arctica-greeter.vala: Do not rename users in D-Bus methods
-rw-r--r-- | src/arctica-greeter.vala | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala index 00004dc..1243fa7 100644 --- a/src/arctica-greeter.vala +++ b/src/arctica-greeter.vala @@ -1315,11 +1315,6 @@ public class DBusServer : Object public void sendUserChange (string sUser) throws GLib.DBusError, GLib.IOError { - if (sUser == "*guest") - { - sUser = "GUEST"; - } - Variant pUser = new Variant ("(s)", sUser); try @@ -1336,11 +1331,6 @@ public class DBusServer : Object { string sUser = this.pGreeter.get_state ("last-user"); - if (sUser == "*guest") - { - sUser = "GUEST"; - } - return sUser; } |