Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Hiboo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ACIDES
Hiboo
Commits
8b9511f9
Unverified
Commit
8b9511f9
authored
2 years ago
by
f00wl
Browse files
Options
Downloads
Patches
Plain Diff
fix(typo): invalid keywor, «d» missing
parent
1a5ef6cf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!50
Resolve "Activation de la 2FA avec TOTP et interface utilisateurice"
Pipeline
#24314
passed
2 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hiboo/account/settings.py
+1
-1
1 addition, 1 deletion
hiboo/account/settings.py
with
1 addition
and
1 deletion
hiboo/account/settings.py
+
1
−
1
View file @
8b9511f9
...
...
@@ -50,7 +50,7 @@ def totp():
def
totp_enable
():
user
=
flask_login
.
current_user
if
models
.
Auth
.
TOTP
not
in
user
.
auths
:
auth
=
models
.
Auth
(
models
.
Auth
.
TOTP
,
enable
=
False
)
auth
=
models
.
Auth
(
models
.
Auth
.
TOTP
,
enable
d
=
False
)
auth
.
set_otp_key
()
user
.
auths
[
models
.
Auth
.
TOTP
]
=
auth
models
.
db
.
session
.
add
(
auth
)
...
...
This diff is collapsed.
Click to expand it.
Ghost User
@ghost
mentioned in merge request
!85 (closed)
·
10 months ago
mentioned in merge request
!85 (closed)
mentioned in merge request !85
Toggle commit list
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