mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
add expiry/size to otp
This commit is contained in:
@@ -15,7 +15,7 @@ message GenerateRequest {
|
|||||||
string id = 1;
|
string id = 1;
|
||||||
// number of characters (default: 6)
|
// number of characters (default: 6)
|
||||||
int64 size = 2;
|
int64 size = 2;
|
||||||
// expiration in seconds (default: 300)
|
// expiration in seconds (default: 60)
|
||||||
int64 expiry = 3;
|
int64 expiry = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user