From 165fe024d975cffa1ef680811db9a82a0f93b81d Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Tue, 21 May 2024 09:18:31 +0200 Subject: [PATCH] Add is email verified API --- proto/accounts/accounts_v1.proto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/proto/accounts/accounts_v1.proto b/proto/accounts/accounts_v1.proto index fa50a06..50235af 100644 --- a/proto/accounts/accounts_v1.proto +++ b/proto/accounts/accounts_v1.proto @@ -11,8 +11,12 @@ service Accounts { rpc SignUp (AccountWithPassword) returns (AccountFullWithToken) {} rpc SignIn (AccountWithPassword) returns (AccountFullWithToken) {} rpc ResetPassword (AccountData) returns (google.protobuf.Empty) {} + rpc IsEmailVerified (AccountData) returns (EmailVerified) {} } +message EmailVerified { + bool verified = 1; +} /** * Represents a environment UUID only */