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-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
2c19db89
Commit
2c19db89
authored
Oct 27, 2017
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Another fix for Classic users who do not have an encrypted certificate.
parent
02bbff78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
www/aptui/quickvm_sup.php
www/aptui/quickvm_sup.php
+11
-0
No files found.
www/aptui/quickvm_sup.php
View file @
2c19db89
...
...
@@ -245,6 +245,17 @@ $PAGEHEADER_FUNCTION = function($thinheader = 0, $ignore1 = NULL,
</div>"
;
}
#
# Watch for a classic user switching over from the classic interface,
# but already logged in, and without an encrypted certificate.
# We really want to generate one so stuff does not break.
#
if
(
$login_user
&&
!
ISADMIN
()
&&
$login_user
->
IsActive
()
&&
$login_user
->
isClassic
()
&&
!
$login_user
->
HasEncryptedCert
(
1
))
{
$login_user
->
GenEncryptedCert
();
}
if
(
$login_user
&&
!
$cleanmode
)
{
$pending
=
$login_user
->
PendingMembership
();
...
...
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