|
@@ -238,7 +238,8 @@ void chrif_setpasswd(char *pwd) {
|
|
|
|
|
|
// security check, prints warning if using default password
|
|
|
void chrif_checkdefaultlogin(void) {
|
|
|
- if (strcmp(userid, "s1")==0 && strcmp(passwd, "p1")==0) {
|
|
|
+ // Skip this check if the server is run with run-once flag
|
|
|
+ if ( runflag != CORE_ST_STOP && strcmp(userid, "s1")==0 && strcmp(passwd, "p1")==0) {
|
|
|
ShowWarning("Using the default user/password s1/p1 is NOT RECOMMENDED.\n");
|
|
|
ShowNotice("Please edit your 'login' table to create a proper inter-server user/password (gender 'S')\n");
|
|
|
ShowNotice("and then edit your user/password in conf/map_athena.conf (or conf/import/map_conf.txt)\n");
|