Added check if the last admin user is to be deleted, and if that's the case, prevent it and return with error message.
This commit is contained in:
@ -33,7 +33,7 @@
|
||||
|
||||
extern int admin_verify(char *, char *);
|
||||
extern char *admin_add_user(char *, char *);
|
||||
extern int admin_test_user(char *);
|
||||
extern int admin_search_user(char *);
|
||||
extern void dcb_PrintAdminUsers(DCB *dcb);
|
||||
|
||||
char* admin_remove_user(char* uname, char* passwd);
|
||||
|
Reference in New Issue
Block a user