registration with zone
This commit is contained in:
@@ -17,6 +17,7 @@ message RegisterRequest {
|
||||
string password = 3;
|
||||
string password_confirmation = 4;
|
||||
string role = 5;
|
||||
string timezone = 6; // IANA timezone, for example Europe/Bratislava
|
||||
}
|
||||
|
||||
message AuthResponse {
|
||||
|
||||
Binary file not shown.
@@ -11,6 +11,9 @@ pub struct RegisterRequest {
|
||||
pub password_confirmation: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "5")]
|
||||
pub role: ::prost::alloc::string::String,
|
||||
/// IANA timezone, for example Europe/Bratislava
|
||||
#[prost(string, tag = "6")]
|
||||
pub timezone: ::prost::alloc::string::String,
|
||||
}
|
||||
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
|
||||
pub struct AuthResponse {
|
||||
|
||||
Reference in New Issue
Block a user