Skip to content
Browse files

Add https:// prefix to example URLs in docs.

  • Loading branch information...
1 parent 64617d3 commit 642cf836ac8dfd4ddec7a28cbef7b00da0807812 @dchest committed Jul 23, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 README.md
  2. +1 −1 passwordreset.go
View
2 README.md
@@ -62,7 +62,7 @@ answering a secret question), generate a reset token:
token := passwordreset.NewToken(login, 12 * time.Hour, pwdval, secret)
Send a link with this token to the user by email, for example:
-www.example.com/reset?token=Talo3mRjaGVzdITUAGOXYZwCMq7EtHfYH4ILcBgKaoWXDHTJOIlBUfcr
+https://www.example.com/reset?token=Talo3mRjaGVzdITUAGOXYZwCMq7EtHfYH4ILcBgKaoWXDHTJOIlBUfcr
Once a user clicks this link, read a token from it, then verify this token
by passing it to VerifyToken function along with the getPasswordHash
View
2 passwordreset.go
@@ -59,7 +59,7 @@
// token := passwordreset.NewToken(login, 12 * time.Hour, pwdval, secret)
//
// Send a link with this token to the user by email, for example:
-// www.example.com/reset?token=Talo3mRjaGVzdITUAGOXYZwCMq7EtHfYH4ILcBgKaoWXDHTJOIlBUfcr
+// https://www.example.com/reset?token=Talo3mRjaGVzdITUAGOXYZwCMq7EtHfYH4ILcBgKaoWXDHTJOIlBUfcr
//
// Once a user clicks this link, read a token from it, then verify this token
// by passing it to VerifyToken function along with the getPasswordHash

0 comments on commit 642cf83

Please sign in to comment.
Something went wrong with that request. Please try again.