#!/usr/bin/perl -w
#
# Written by Jon Robertson
# Copyright 2011 Board of Trustees, Leland Stanford Jr. University
#
# See LICENSE for licensing terms.

use strict;

my $REMOTE_USER = $ENV{'REMOTE_USER'};

require '../auth/util.pl';

print "Content-type: text/html\n\n";

print "<html>";

test_title (1, "Require both password and multifactor");

print<<EOS;
<p>You are accessing a webauth-protected page as the user: $REMOTE_USER</p>
<p>This test is to make sure that two requirements work together properly.
   In this case, we test requiring both password and multifactor in the
   initial login.</p>
EOS

&return_links;

&multifactor_tests;
&dump_stuff;

print "</html>";

