add another link to totp spec
This commit is contained in:
@@ -207,6 +207,7 @@ fn parseArgs(allocator: Allocator, args: []const []const u8) !Args {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// see https://www.ietf.org/archive/id/draft-linuxgemini-otpauth-uri-01.txt
|
// see https://www.ietf.org/archive/id/draft-linuxgemini-otpauth-uri-01.txt
|
||||||
|
// or https://github.com/google/google-authenticator/wiki/Key-Uri-Format
|
||||||
fn parseOtpAuthUrl(allocator: Allocator, url: []const u8) !OtpAuthUrl {
|
fn parseOtpAuthUrl(allocator: Allocator, url: []const u8) !OtpAuthUrl {
|
||||||
const uri = try std.Uri.parse(url);
|
const uri = try std.Uri.parse(url);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user