Skip to content
Snippets Groups Projects
Commit 87f63b3d authored by renater.salaun's avatar renater.salaun
Browse files

Fix account creation process

git-svn-id: https://svn.geant.net/GEANT/edugain_testidp_account_manager/trunk@5 047e039d-479c-447e-8a29-aa6bf4a09bab
parent 946224b5
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,9 @@ if ($options{'create_test_account'}) {
unless (defined $test_account) {
die "Failed to create test account";
}
printf "Account created:\n\tuserid: user%d\n\tpassword: %s\n", $test_account->id, $test_account->user_password;
}elsif ($options{'list_test_accounts'}) {
my %args;
......
......@@ -21,6 +21,14 @@ has 'sp_entityid' => (is => 'rw',
isa => 'entityid',
required => 1,
);
has 'id' => (is => 'ro',
isa => 'Int',
required => 0,
);
has 'user_password' => (is => 'ro',
isa => 'Str',
required => 0,
);
sub BUILD {
......
<?php
// template for a PhP configuration file loaded in simpleSamlPhp authsources.php file
$validTestAccounts = array (
'exampleauth:UserPass',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment