Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eduGAIN Access Check - Account manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
edugain
eduGAIN Access Check - Account manager
Commits
88ec3433
Commit
88ec3433
authored
7 years ago
by
Guillaume ROUSSE
Browse files
Options
Downloads
Patches
Plain Diff
use same configuration directives as the registry
parent
cd5d3dba
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
conf/manager.conf.in
+6
-6
6 additions, 6 deletions
conf/manager.conf.in
lib/AccountManager/App.pm
+3
-3
3 additions, 3 deletions
lib/AccountManager/App.pm
with
9 additions
and
9 deletions
conf/manager.conf.in
+
6
−
6
View file @
88ec3433
...
...
@@ -5,15 +5,9 @@ tokens_validity_period = 2
# Templates directory
templates_dir = @templatesdir@
# From field use by the account manager
notice_from = edugain-access-check.fqdn
# federation metadata local copy path
federation_metadata_file = @sysconfdir@/edugain-md.xml
# Path to sendmail executable
sendmail_path = /usr/sbin/sendmail
[app]
version = open Beta 1
url = https://my.fqdn/accountmanager
...
...
@@ -23,6 +17,12 @@ support_email = support@my.fqdn
file = /opt/testidp/IdPAccountManager/log/manager.log
level = info
[notifier)
# path to sendmail executable
sendmail_path = /usr/sbin/sendmail
# from field use by the account manager
from = edugain-access-check.fqdn
[database]
type = mysql
host = localhost
...
...
This diff is collapsed.
Click to expand it.
lib/AccountManager/App.pm
+
3
−
3
View file @
88ec3433
...
...
@@ -414,10 +414,10 @@ sub req_complete_challenge {
);
}
my
$sender
=
$self
->
{
configuration
}
->
{
_
}
->
{
notice_from
};
my
$recipient
=
$self
->
{
in
}
->
{
email
};
my
$sendmail
=
$self
->
{
configuration
}
->
{
_
}
->
{
sendmail_path
}
||
my
$sender
=
$self
->
{
configuration
}
->
{
notifier
}
->
{
from
};
my
$sendmail
=
$self
->
{
configuration
}
->
{
notifier
}
->
{
sendmail_path
}
||
'
/usr/sbin/sendmail
';
my
$recipient
=
$self
->
{
in
}
->
{
email
};
open
(
my
$handle
,
'
|-
',
"
$sendmail
-f
$sender
$recipient
")
or
do
{
$self
->
{
logger
}
->
errorf
("
Unable to run sendmail executable: %s
",
$ERRNO
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment