Skip to content

Commit

Permalink
Shorten demo mode OTP prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
rharish101 committed Aug 3, 2024
1 parent ccefc05 commit 032e03f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 032e03f

Please sign in to comment.