Skip to content

Commit 9c3103b

Browse files
committed
Address comments.
1 parent 06095cf commit 9c3103b

File tree

5 files changed

+1919
-1918
lines changed

5 files changed

+1919
-1918
lines changed

api/proto/teleport/legacy/types/types.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2134,8 +2134,9 @@ message AuthPreferenceSpecV2 {
21342134
string Type = 1 [(gogoproto.jsontag) = "type"];
21352135

21362136
// SecondFactor is the type of mult-factor.
2137-
// Deprecated: Prefer setting SecondFactors instead.
2137+
// Deprecated: Prefer using SecondFactors instead.
21382138
string SecondFactor = 2 [
2139+
deprecated = true,
21392140
(gogoproto.jsontag) = "second_factor,omitempty",
21402141
(gogoproto.casttype) = "github.com/gravitational/teleport/api/constants.SecondFactorType"
21412142
];

0 commit comments

Comments
 (0)