diff options
Diffstat (limited to 'admin.c')
-rw-r--r-- | admin.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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, |