[GH-ISSUE #341] 2FA integration #220

Closed
opened 2026-02-27 15:57:51 +03:00 by kerem · 13 comments
Owner

Originally created by @lord-kyron on GitHub (Jul 3, 2020).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/341

@catborise @Real-Gecko - I am opening this issue in order to not forget to try to implement 2FA module for Django as we spoke!

Originally created by @lord-kyron on GitHub (Jul 3, 2020). Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/341 @catborise @Real-Gecko - I am opening this issue in order to not forget to try to implement 2FA module for Django as we spoke!
kerem closed this issue 2026-02-27 15:57:51 +03:00
Author
Owner

@lord-kyron commented on GitHub (Jul 14, 2020):

@catborise @Real-Gecko - since instances is merged, can you look at this now, please?

<!-- gh-comment-id:658269101 --> @lord-kyron commented on GitHub (Jul 14, 2020): @catborise @Real-Gecko - since instances is merged, can you look at this now, please?
Author
Owner

@lord-kyron commented on GitHub (Jul 27, 2020):

@Real-Gecko @catborise - can you make some last tries to implement this :( I know @Real-Gecko is not actively working on this project anymore, but some last commit about this, please?

<!-- gh-comment-id:664421989 --> @lord-kyron commented on GitHub (Jul 27, 2020): @Real-Gecko @catborise - can you make some last tries to implement this :( I know @Real-Gecko is not actively working on this project anymore, but some last commit about this, please?
Author
Owner

@Real-Gecko commented on GitHub (Oct 8, 2020):

Check out discord chat.

<!-- gh-comment-id:705523844 --> @Real-Gecko commented on GitHub (Oct 8, 2020): Check out discord chat.
Author
Owner

@lord-kyron commented on GitHub (Oct 9, 2020):

Working as expected on first test. Please, create PR to the master repo so that it can be merged. Thanks!

<!-- gh-comment-id:706184223 --> @lord-kyron commented on GitHub (Oct 9, 2020): Working as expected on first test. Please, create PR to the master repo so that it can be merged. Thanks!
Author
Owner

@lord-kyron commented on GitHub (Oct 12, 2020):

@catborise why did you reopened this? Not working as exoected or it needs some additional changes?

<!-- gh-comment-id:707259586 --> @lord-kyron commented on GitHub (Oct 12, 2020): @catborise why did you reopened this? Not working as exoected or it needs some additional changes?
Author
Owner

@catborise commented on GitHub (Oct 13, 2020):

before login, if you activate it you cannot login. may be it should be fixed. may be it could activate after login admin account.

<!-- gh-comment-id:707580228 --> @catborise commented on GitHub (Oct 13, 2020): before login, if you activate it you cannot login. may be it should be fixed. may be it could activate after login admin account.
Author
Owner

@lord-kyron commented on GitHub (Oct 13, 2020):

That is what I asked @Real-Gecko - can one of you guys make it possible to activate it the settings.py, but this to activate only the option to enable it in the admin settings. Like if you say enable=true - to have an option in the admin panel. If you say enable=false this option will not be present there. But if you will enable or disable it in admin this will actually turn it on or off.

<!-- gh-comment-id:707615680 --> @lord-kyron commented on GitHub (Oct 13, 2020): That is what I asked @Real-Gecko - can one of you guys make it possible to activate it the settings.py, but this to activate only the option to enable it in the admin settings. Like if you say enable=true - to have an option in the admin panel. If you say enable=false this option will not be present there. But if you will enable or disable it in admin this will actually turn it on or off.
Author
Owner

@Real-Gecko commented on GitHub (Oct 13, 2020):

Solution is obvious: disable in settings.py, login, grab qr code, enable in settings.py. If we put the option inside admin interface you can easily end in scenario like this: you enable, log out without qr and that's it, you cannot disable OTP now without connecting to your database, which requires a little bit more than writing vi settings.py.

Like if you say enable=true - to have an option in the admin panel. If you say enable=false this option will not be present there.

But it's basically the same, if you're locked out you'll need to edit settings.py which is the same as it is now.

<!-- gh-comment-id:707672634 --> @Real-Gecko commented on GitHub (Oct 13, 2020): Solution is obvious: disable in `settings.py`, login, grab qr code, enable in `settings.py`. If we put the option inside admin interface you can easily end in scenario like this: you enable, log out without qr and that's it, you cannot disable OTP now without connecting to your database, which requires a little bit more than writing `vi settings.py`. > Like if you say enable=true - to have an option in the admin panel. If you say enable=false this option will not be present there. But it's basically the same, if you're locked out you'll need to edit `settings.py` which is the same as it is now.
Author
Owner

@lord-kyron commented on GitHub (Oct 13, 2020):

Solution is obvious: disable in settings.py, login, grab qr code, enable in settings.py. If we put the option inside admin interface you can easily end in scenario like this: you enable, log out without qr and that's it, you cannot disable OTP now without connecting to your database, which requires a little bit more than writing vi settings.py.

Like if you say enable=true - to have an option in the admin panel. If you say enable=false this option will not be present there.

But it's basically the same, if you're locked out you'll need to edit settings.py which is the same as it is now.

This is true actually. @catborise ?

<!-- gh-comment-id:707919948 --> @lord-kyron commented on GitHub (Oct 13, 2020): > Solution is obvious: disable in `settings.py`, login, grab qr code, enable in `settings.py`. If we put the option inside admin interface you can easily end in scenario like this: you enable, log out without qr and that's it, you cannot disable OTP now without connecting to your database, which requires a little bit more than writing `vi settings.py`. > > > Like if you say enable=true - to have an option in the admin panel. If you say enable=false this option will not be present there. > > But it's basically the same, if you're locked out you'll need to edit `settings.py` which is the same as it is now. This is true actually. @catborise ?
Author
Owner

@lord-kyron commented on GitHub (Oct 16, 2020):

@catborise - are you going to offer some fix or this approach is sufficient?

<!-- gh-comment-id:710075848 --> @lord-kyron commented on GitHub (Oct 16, 2020): @catborise - are you going to offer some fix or this approach is sufficient?
Author
Owner

@catborise commented on GitHub (Oct 16, 2020):

i think it is enough for now. the other solution is nice but there is too overhead.

<!-- gh-comment-id:710082490 --> @catborise commented on GitHub (Oct 16, 2020): i think it is enough for now. the other solution is nice but there is too overhead.
Author
Owner

@Real-Gecko commented on GitHub (Oct 16, 2020):

I actually have an idea how to improve current functionality, will implement it soon.

<!-- gh-comment-id:710100931 --> @Real-Gecko commented on GitHub (Oct 16, 2020): I actually have an idea how to improve current functionality, will implement it soon.
Author
Owner

@lord-kyron commented on GitHub (Oct 16, 2020):

I am re-opening the issue again then @Real-Gecko

<!-- gh-comment-id:710106336 --> @lord-kyron commented on GitHub (Oct 16, 2020): I am re-opening the issue again then @Real-Gecko
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#220
No description provided.