mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-09 08:16:58 +08:00
get_auth_handler2: update to reflect username and password ask
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
2
NEWS
2
NEWS
@@ -16,6 +16,8 @@
|
||||
from being banned or cause premature unbans (#678)
|
||||
- Session statistics are now reported at consistent intervals
|
||||
for RADIUS compatibility (#630)
|
||||
- Single form to enter username and password (#551)
|
||||
|
||||
|
||||
* Version 1.3.0 (released 2024-05-05)
|
||||
- Switch to https://github.com/nodejs/llhttp from http-parser.
|
||||
|
||||
@@ -317,7 +317,7 @@ int get_auth_handler2(worker_st *ws, unsigned int http_ver, const char *pmsg,
|
||||
} else {
|
||||
/* Username / Groups Form */
|
||||
if (pmsg == NULL)
|
||||
pmsg = "Please enter your username.";
|
||||
pmsg = "Please enter your username and password.";
|
||||
|
||||
ret = str_append_str(&str, login_start);
|
||||
if (ret < 0) {
|
||||
|
||||
Reference in New Issue
Block a user