grim/reviewboard_jetbrains_hub

a563f97f4da4
Parents e3bcdfdcc999
Children f171b42362c8
Add some login instructions to mention the 2FA caveat
--- a/rbjbhub/extension.py Tue Jun 16 23:34:41 2020 -0500
+++ b/rbjbhub/extension.py Tue Jun 16 23:54:47 2020 -0500
@@ -101,6 +101,8 @@
backend_id = 'grim-jbhub'
name = _('JetBrains Hub')
settings_form = JetBrainsHubSettingsForm
+ login_instructions = _('If you have 2FA enabled in your Hub account, you '
+ 'will need to use an application password.')
def authenticate(self, username, password, **kwargs):
siteconfig = SiteConfiguration.objects.get_current()