diff --git a/src/c2se/backend/identity.rs b/src/c2se/backend/identity.rs index 270b4f3..dc8b3e7 100644 --- a/src/c2se/backend/identity.rs +++ b/src/c2se/backend/identity.rs @@ -18,7 +18,7 @@ pub const SUBJECT_SIGNIN: &str = const_format::concatcp!(SUBJECT, ".Signin"); #[derive(Clone, PartialEq, ::prost::Message)] pub struct SigninRequest { #[prost(string, tag = "1")] - pub token: ::prost::alloc::string::String, + pub security_code_hash: ::prost::alloc::string::String, #[prost(string, tag = "2")] pub security_code: ::prost::alloc::string::String, #[prost(string, tag = "3")] diff --git a/src/c2se/frontend/identity.rs b/src/c2se/frontend/identity.rs index 1698f4e..3c266dd 100644 --- a/src/c2se/frontend/identity.rs +++ b/src/c2se/frontend/identity.rs @@ -18,7 +18,7 @@ pub const SUBJECT_SIGNIN: &str = const_format::concatcp!(SUBJECT, ".Signin"); #[derive(Clone, PartialEq, ::prost::Message)] pub struct SigninRequest { #[prost(string, tag = "1")] - pub token: ::prost::alloc::string::String, + pub security_code_hash: ::prost::alloc::string::String, #[prost(string, tag = "2")] pub security_code: ::prost::alloc::string::String, #[prost(string, tag = "3")] diff --git a/src/ss/member/identity.rs b/src/ss/member/identity.rs index af80c35..5943b10 100644 --- a/src/ss/member/identity.rs +++ b/src/ss/member/identity.rs @@ -72,7 +72,7 @@ pub mod captcha_response { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { #[prost(string, tag = "1")] - pub token: ::prost::alloc::string::String, + pub security_code_hash: ::prost::alloc::string::String, #[prost(string, tag = "2")] pub image: ::prost::alloc::string::String, } @@ -84,7 +84,7 @@ pub struct SigninRequest { #[prost(message, optional, tag = "1")] pub client: ::core::option::Option, #[prost(string, tag = "2")] - pub token: ::prost::alloc::string::String, + pub security_code_hash: ::prost::alloc::string::String, #[prost(string, tag = "3")] pub security_code: ::prost::alloc::string::String, #[prost(string, tag = "4")]