Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Helios Server
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Helios Server
Commits
654dbab4
Commit
654dbab4
authored
15 years ago
by
Ben Adida
Browse files
Options
Downloads
Patches
Plain Diff
added parameters for auth systems by password
parent
6948a6ec
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
auth
+1
-1
1 addition, 1 deletion
auth
iacr/__init__.py
+5
-1
5 additions, 1 deletion
iacr/__init__.py
with
6 additions
and
2 deletions
auth
@
51f2016c
Compare
9d0b3797
...
51f2016c
Subproject commit
9d0b3797
053c
ac7ac3cd3205bfd6df8acb81682e
Subproject commit
51f2016c142c582a88a
05
e
3c
ce6762f97c7d34d9
This diff is collapsed.
Click to expand it.
iacr/__init__.py
+
5
−
1
View file @
654dbab4
...
...
@@ -5,9 +5,13 @@ This django app is meant only to connect the pieces of Helios and Auth that are
import
glue
import
helios
import
auth
import
auth.models
helios
.
TEMPLATE_BASE
=
"
iacr/templates/base.html
"
helios
.
ADMIN_ONLY
=
True
helios
.
ADMIN
=
auth
.
models
.
User
.
get_or_create
(
user_type
=
'
password
'
,
user_id
=
'
benadida
'
)
helios
.
SELF_REGISTRATION
=
False
# authentication limited to passwords
auth
.
ENABLED_AUTH_SYSTEMS
=
[
'
password
'
]
\ No newline at end of file
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