commit d797862

Paul Wilde  ·  2024-01-28 21:14:46 +0000 UTC
parent f0c46a7
formatting
1 files changed,  +3, -3
+3, -3
 1@@ -362,9 +362,9 @@ int oauth_post_handler(const xs_dict *req, const char *q_path,
 2 	/* no code? 
 3 	   I'm not sure of the impacts of this right now, but Subway Tooter does not
 4 	   provide a code so one must be generated */
 5-	if (xs_is_null(code)){
 6-		code = random_str();
 7-	}
 8+        if (xs_is_null(code)){
 9+            code = random_str();
10+        }
11         if (gtype && code && cid && csec && ruri) {
12             xs *app = app_get(cid);
13