config(minor): CONFIG.get -> CONFIG.y
This commit is contained in:
@ -75,7 +75,7 @@ class EnableView(LoginRequiredMixin, FormView):
|
||||
|
||||
# TODO: Check if OTP Factor exists and applies to user
|
||||
def get_context_data(self, **kwargs):
|
||||
kwargs['config'] = CONFIG.get('passbook')
|
||||
kwargs['config'] = CONFIG.y('passbook')
|
||||
kwargs['is_login'] = True
|
||||
kwargs['title'] = _('Configue OTP')
|
||||
kwargs['primary_action'] = _('Setup')
|
||||
|
Reference in New Issue
Block a user