fix: rename (t)otp to code in session checks (#6455)

* fix: rename (t)otp to code in session checks

* update integration tests

---------

Co-authored-by: Fabi <fabienne@zitadel.com>
This commit is contained in:
Livio Spring
2023-08-31 09:06:50 +02:00
committed by GitHub
parent e17b49e4ca
commit 3c8640fbfd
3 changed files with 8 additions and 8 deletions

View File

@@ -458,7 +458,7 @@ message CheckIDPIntent {
}
message CheckTOTP {
string totp = 1 [
string code = 1 [
(validate.rules).string = {min_len: 6, max_len: 6},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
min_length: 6;
@@ -469,7 +469,7 @@ message CheckTOTP {
}
message CheckOTP {
string otp = 1 [
string code = 1 [
(validate.rules).string = {min_len: 1},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
min_length: 1;