#!/usr/local/bin/perl # Show a domain's password require './virtual-server-lib.pl'; use POSIX; &ReadParse(); $d = &get_domain($in{'dom'}); $d || &error($text{'edit_egone'}); &can_edit_domain($d) || &error($text{'edit_ecannot'}); &can_show_pass() || &error($text{'showpass_ecannot'}); &popup_header($text{'showpass_title'}); print "
| $text{'showpass_user'} | ", "$d->{'user'} |
| $text{'showpass_pass'} | ", "$d->{'pass'} |