From 032e03f2223f8b112768de69166c129685b71ca9 Mon Sep 17 00:00:00 2001 From: Harish Rajagopal Date: Sat, 3 Aug 2024 11:12:59 +0200 Subject: [PATCH] Shorten demo mode OTP prompt --- src/client.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client.rs b/src/client.rs index ad68f8e..2ee5af0 100644 --- a/src/client.rs +++ b/src/client.rs @@ -18,7 +18,8 @@ use tracing::warn; /// Environment variable containing the path to the greetd socket const GREETD_SOCK_ENV_VAR: &str = "GREETD_SOCK"; -const DEMO_AUTH_MSG_OPT: &str = "One-Time password prompt for the selected User:"; +/// Demo mode credentials +const DEMO_AUTH_MSG_OPT: &str = "One-Time Password:"; const DEMO_AUTH_MSG_PASSWD: &str = "Password:"; const DEMO_AUTH_MSG_ERROR: &str = "pam_authenticate: AUTH_ERR"; const DEMO_OTP: &str = "0248";