summaryrefslogtreecommitdiff
path: root/member.c
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-13 15:24:28 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-13 15:24:28 +0800
commit7c6b7674ce141299c655e65cd0bb2605c84f1df5 (patch)
tree1ddb96c41e483c3a9435f0aea3623ac0e7b799db /member.c
parent38dbb494228261735509f9bc2fbe543ed1e0c04e (diff)
nextpage default is login
Diffstat (limited to 'member.c')
-rw-r--r--member.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/member.c b/member.c
index 90805a2..8a6dbc8 100644
--- a/member.c
+++ b/member.c
@@ -16,8 +16,8 @@ void interchange_member_login(const char *username, const char *password,
void (*handler)(interchange_response *),
void (*callback)(struct interchange_member *))
{
- login(username, password, NULL, "Login", nextpage, failpage, handler,
- (void (*)(void *))callback);
+ login(username, password, NULL, "Login", nextpage ? nextpage : "login",
+ failpage, handler, (void (*)(void *))callback);
}
void interchange_member_account(void (*handler)(interchange_response *))