-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve the comment for 2FA filter in admin panel #18017
Conversation
Gusted
commented
Dec 18, 2021
•
edited
Loading
edited
- Better TODO message.
That If there is no performance problem, I think we can postpone the introducing of new fields. It seems that |
Ah, IDE showed that last activity came from Lunny(so I just assumed)
Last time I checked using JOIN's aren't quite good for the performance lookups. |
Yep, although its performance not good, as long as it doesn't harm now so it's not too bad 😂. Such SQL is seldom executed. Since we are refactoring u2f/webauthn now, I have a feeling that 2FA mechanism should be improved after these refactoring. |
More and more columns in user table is not a good idea imo. |
I agree that adding a new field is not worth the gain. The TODO comment should be updated to not suggest adding the field so that someone else does not try to implement what turns out to be something that is not desirable. |
Since user setting table has been added, I think this PR could do some adjustment to use that table but not create a new column. |
I've for now changed the TODO |
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* 'main' of https://github.com/go-gitea/gitea: [skip ci] Updated translations via Crowdin Improve the comment for 2FA filter in admin panel (go-gitea#18017) fix regression from go-gitea#16075 (go-gitea#18260) Prevent underline hover on cards (go-gitea#18259) Fix release link broken (go-gitea#18252) migrations: a deadline at January 1st, 1970 is valid (go-gitea#18237)
Replace TODO with explanation Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>