Add a reset password api

This commit is contained in:
Nikolai Rodionov 2024-05-20 22:11:20 +02:00
parent f2baff2f93
commit 9569f69afc
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD

View File

@ -1,6 +1,7 @@
/// This file has messages for describing environments /// This file has messages for describing environments
syntax = "proto3"; syntax = "proto3";
package accounts; package accounts;
import "google/protobuf/empty.proto";
option go_package = "git.badhouseplants.net/softplayer/softplayer-go-proto/pkg/accounts"; option go_package = "git.badhouseplants.net/softplayer/softplayer-go-proto/pkg/accounts";
/** /**
@ -9,9 +10,9 @@ option go_package = "git.badhouseplants.net/softplayer/softplayer-go-proto/pkg/a
service Accounts { service Accounts {
rpc SignUp (AccountWithPassword) returns (AccountFullWithToken) {} rpc SignUp (AccountWithPassword) returns (AccountFullWithToken) {}
rpc SignIn (AccountWithPassword) returns (AccountFullWithToken) {} rpc SignIn (AccountWithPassword) returns (AccountFullWithToken) {}
rpc ResetPassword (AccountData) returns (google.protobuf.Empty) {}
} }
/** /**
* Represents a environment UUID only * Represents a environment UUID only
*/ */