register with optional role in the post request
This commit is contained in:
Binary file not shown.
@@ -9,6 +9,8 @@ pub struct RegisterRequest {
|
||||
pub password: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "4")]
|
||||
pub password_confirmation: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "5")]
|
||||
pub role: ::prost::alloc::string::String,
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct AuthResponse {
|
||||
|
||||
Reference in New Issue
Block a user