summaryrefslogtreecommitdiffstats
path: root/source/web/swat.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-11-14 02:10:55 +0000
committerAndrew Tridgell <tridge@samba.org>1998-11-14 02:10:55 +0000
commit55377e3cdd5d8428e89b40946f0535b8cf5247ae (patch)
treeb3d9b5520b041dfe140729f0fd7a79ebd151ae49 /source/web/swat.c
parent08fd7032584bf93a92b71ea7d5f73d2da75c8bb0 (diff)
downloadsamba-55377e3cdd5d8428e89b40946f0535b8cf5247ae.tar.gz
samba-55377e3cdd5d8428e89b40946f0535b8cf5247ae.tar.xz
samba-55377e3cdd5d8428e89b40946f0535b8cf5247ae.zip
remove code that allows installation via cgi
swat will now give an error message if run via cgi
Diffstat (limited to 'source/web/swat.c')
-rw-r--r--source/web/swat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/web/swat.c b/source/web/swat.c
index ad98b7b96e6..4d12e4b2f41 100644
--- a/source/web/swat.c
+++ b/source/web/swat.c
@@ -697,7 +697,7 @@ static void chg_passwd(void)
****************************************************************************/
static void passwd_page(void)
{
- char *new_name = get_user_name();
+ char *new_name = cgi_user_name();
/*
* After the first time through here be nice. If the user