mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
include WWW-Authenticate field in 401 response for bad auth attempt; bug 629
(This used to be commit 879d0f15ea260d61c56c5b841065ecb2f5ec26ca)
This commit is contained in:
parent
4f65a3bd03
commit
7d9fb45339
@ -355,7 +355,8 @@ static BOOL cgi_handle_authorization(char *line)
|
||||
}
|
||||
|
||||
err:
|
||||
cgi_setup_error("401 Bad Authorization", "",
|
||||
cgi_setup_error("401 Bad Authorization",
|
||||
"WWW-Authenticate: Basic realm=\"SWAT\"\r\n",
|
||||
"username or password incorrect");
|
||||
|
||||
passwd_free(&pass);
|
||||
|
Loading…
x
Reference in New Issue
Block a user