summaryrefslogtreecommitdiff
path: root/source3/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
commit5be7ae453d588bf520a71723115e5edbd5584d07 (patch)
tree1c9c76704df2b296981ac564ed0c9220d6467aae /source3/web/swat.c
parent74c66b148efde44d7b827b66661247b8d1b7c1d4 (diff)
downloadsamba-5be7ae453d588bf520a71723115e5edbd5584d07.tar.gz
samba-5be7ae453d588bf520a71723115e5edbd5584d07.tar.bz2
samba-5be7ae453d588bf520a71723115e5edbd5584d07.zip
remove code that allows installation via cgi
swat will now give an error message if run via cgi (This used to be commit 55377e3cdd5d8428e89b40946f0535b8cf5247ae)
Diffstat (limited to 'source3/web/swat.c')
-rw-r--r--source3/web/swat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c
index ad98b7b96e..4d12e4b2f4 100644
--- a/source3/web/swat.c
+++ b/source3/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