All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 45ce79a6 authored by Jonathon Duerig's avatar Jonathon Duerig

Fix bitrot. Add a type field in the generated credential.

parent 20f3039c
......@@ -109,6 +109,7 @@ sub Create($$$) {
$self->{'extensions'} = undef;
$self->{'uuid'} = GeniUtil::NewUUID();
$self->{'idx'} = undef; # Only set when stored to DB.
$self->{'type'} = "privilege";
bless($self, "GeniCredential");
$self->SetExpiration(time() + ($expires * 60 * 60 * 24));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment