mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-23 15:51:24 +00:00
Update user.proto
This commit is contained in:
@@ -45,7 +45,7 @@ message Session {
|
|||||||
|
|
||||||
// Create a new user account. The email address and username for the account must be unique.
|
// Create a new user account. The email address and username for the account must be unique.
|
||||||
message CreateRequest {
|
message CreateRequest {
|
||||||
// the acccount id
|
// optional acccount id
|
||||||
string id = 1;
|
string id = 1;
|
||||||
// the username
|
// the username
|
||||||
string username = 2;
|
string username = 2;
|
||||||
@@ -53,7 +53,7 @@ message CreateRequest {
|
|||||||
string email = 3;
|
string email = 3;
|
||||||
// the user password
|
// the user password
|
||||||
string password = 4;
|
string password = 4;
|
||||||
// the user profile as map<string,string>
|
// optional user profile as map<string,string>
|
||||||
map<string,string> profile = 5;
|
map<string,string> profile = 5;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user