mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-29 07:53:37 +00:00
cleanup
This commit is contained in:
parent
9568ec8bfe
commit
ddfd8aaca9
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ int oauth_post_handler(const xs_dict *req, const char *q_path,
|
||||||
I'm not sure of the impacts of this right now, but Subway Tooter does not
|
I'm not sure of the impacts of this right now, but Subway Tooter does not
|
||||||
provide a code so one must be generated */
|
provide a code so one must be generated */
|
||||||
if (xs_is_null(code)){
|
if (xs_is_null(code)){
|
||||||
code = random_str();
|
code = random_str();
|
||||||
}
|
}
|
||||||
if (gtype && code && cid && csec && ruri) {
|
if (gtype && code && cid && csec && ruri) {
|
||||||
xs *app = app_get(cid);
|
xs *app = app_get(cid);
|
||||||
|
|
Loading…
Reference in a new issue