replace straggler arimelody.me mentions with .space
email notwithstanding
This commit is contained in:
parent
ab07554716
commit
c49084afb0
13 changed files with 61 additions and 61 deletions
|
@ -58,12 +58,12 @@ func GenerateTOTPURI(username string, secret string) string {
|
|||
url := url.URL{
|
||||
Scheme: "otpauth",
|
||||
Host: "totp",
|
||||
Path: url.QueryEscape("arimelody.me") + ":" + url.QueryEscape(username),
|
||||
Path: url.QueryEscape("arimelody.space") + ":" + url.QueryEscape(username),
|
||||
}
|
||||
|
||||
query := url.Query()
|
||||
query.Set("secret", secret)
|
||||
query.Set("issuer", "arimelody.me")
|
||||
query.Set("issuer", "arimelody.space")
|
||||
// query.Set("algorithm", "SHA1")
|
||||
// query.Set("digits", fmt.Sprintf("%d", TOTP_CODE_LENGTH))
|
||||
// query.Set("period", fmt.Sprintf("%d", TOTP_TIME_STEP))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue