Skip to content

Commit a40949f

Browse files
committed
fix: vita devs cant read docs apparently
1 parent 53a4b0d commit a40949f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎twitterv1/oauth.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ func AttemptToAuthenticateWithOauth(c *fiber.Ctx) error {
271271
tokenData.AuthPDS = pds
272272

273273
// create verifier
274-
if tokenData.Callback == "oob" {
274+
if tokenData.Callback == "oob" || tokenData.Callback == "" {
275275
// generate our pin
276276
tokenData.Verifier, err = GenerateNumericPIN(7)
277277
if err != nil {

0 commit comments

Comments
 (0)