Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-stable
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
emulab
emulab-stable
Commits
a249493d
Commit
a249493d
authored
Oct 26, 2018
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Silence the email when the certificate does not verify, we tell the user
that and point them to the Geni portal to fix it.
parent
36398d74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
www/aptui/geni-login.ajax
www/aptui/geni-login.ajax
+5
-2
No files found.
www/aptui/geni-login.ajax
View file @
a249493d
...
...
@@ -119,7 +119,10 @@ function Do_CreateSecret()
#
if
(
VerifyLocalUser
(
null
,
$certificate
))
{
SPITAJAX_ERROR
(
1
,
"Cannot verify your certificate, please regenerate "
.
"your certificate at your home portal."
);
"your certificate at your home portal (typically "
.
"this would be https://portal.geni.net/). You must "
.
"also flush your old certificate from "
.
"from the Geni Authorization Tool."
);
return
;
}
...
...
@@ -490,7 +493,7 @@ function VerifyLocalUser($user, $cert)
chmod
(
$certfile
,
0666
);
$retval
=
SUEXEC
(
"nobody"
,
"nobody"
,
"webverifycert
$args
$certfile
"
,
SUEXEC_ACTION_
CONTINU
E
);
SUEXEC_ACTION_
IGNOR
E
);
unlink
(
$certfile
);
if
(
$retval
)
return
-
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment