summaryrefslogtreecommitdiff
path: root/admin.c
diff options
context:
space:
mode:
Diffstat (limited to 'admin.c')
-rw-r--r--admin.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/admin.c b/admin.c
index a4ea6c1..7e498a5 100644
--- a/admin.c
+++ b/admin.c
@@ -6,10 +6,12 @@
#include "interchange/ord.h"
#include "interchange/admin.h"
-void interchange_admin_login(const char *username, const char *password, void (*handler)(interchange_response *),
+void interchange_admin_login(const char *username, const char *password,
+ const char *failpage, void (*handler)(interchange_response *),
void (*callback)(struct interchange_admin *))
{
- login(username, password, NULL, "MMLogin", handler, (void (*)(void *))callback);
+ login(username, password, NULL, "MMLogin", failpage, handler,
+ (void (*)(void *))callback);
}
void interchange_admin_new_admin(const char *username, const char *password, const char *name, bool super,