summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/google-compute-engine-oslogin/pam_module/pam_oslogin_login.cc2
-rw-r--r--packages/google-compute-engine-oslogin/utils/oslogin_utils.cc1
2 files changed, 2 insertions, 1 deletions
diff --git a/packages/google-compute-engine-oslogin/pam_module/pam_oslogin_login.cc b/packages/google-compute-engine-oslogin/pam_module/pam_oslogin_login.cc
index dd2df08..dd1b1bd 100644
--- a/packages/google-compute-engine-oslogin/pam_module/pam_oslogin_login.cc
+++ b/packages/google-compute-engine-oslogin/pam_module/pam_oslogin_login.cc
@@ -188,7 +188,7 @@ PAM_EXTERN int pam_sm_authenticate(pam_handle_t * pamh, int flags,
user_prompts[AUTHZEN] = "Google phone prompt";
user_prompts[TOTP] = "Security code from Google Authenticator application";
user_prompts[INTERNAL_TWO_FACTOR] = "Security code from security key";
- user_prompts[IDV_PREREGISTERED_PHONE] =
+ user_prompts[IDV_PREREGISTERED_PHONE] =
"Voice or text message verification code";
oslogin_utils::Challenge challenge;
diff --git a/packages/google-compute-engine-oslogin/utils/oslogin_utils.cc b/packages/google-compute-engine-oslogin/utils/oslogin_utils.cc
index 027c571..819bd30 100644
--- a/packages/google-compute-engine-oslogin/utils/oslogin_utils.cc
+++ b/packages/google-compute-engine-oslogin/utils/oslogin_utils.cc
@@ -586,6 +586,7 @@ bool StartSession(const string& email, string* response) {
jarr = json_object_new_array();
json_object_array_add(jarr, json_object_new_string(INTERNAL_TWO_FACTOR));
+ json_object_array_add(jarr, json_object_new_string(AUTHZEN));
json_object_array_add(jarr, json_object_new_string(TOTP));
json_object_array_add(jarr, json_object_new_string(IDV_PREREGISTERED_PHONE));