diff --git a/src/elogd.c b/src/elogd.c index ee62e152..fc0a74f1 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -22281,7 +22281,19 @@ BOOL check_user_password(LOGBOOK * lbs, char *user, char *password, char *redir) rsprintf("\n"); else rsprintf("\n"); - rsprintf("%s\n", loc("Remember me on this computer")); + rsprintf("%s
\n", loc("Keep me logged in on this computer")); + + if (atof(str) < 1) + rsprintf(loc("for the next %d minutes"), (int)(atof(str)*60)); + else if (atof(str) == 1) + rsprintf(loc("for the next hour")); + else if (atof(str) <= 48) + rsprintf(loc("for the next %d hours"), (int)atof(str)); + else + rsprintf(loc("for the next %d days"), (int)(atof(str)/24)); + + rsprintf(" or until I log out"); + rsprintf("\n"); } show_forgot_link = (!getcfg(lbs->name, "allow password change", str, sizeof(str)) || atoi(str) == 1);