Problem/Motivation

Currently there's a call to \Drupal::config('user.settings') in TfaUserLoginBlock, that should not be there.

Steps to reproduce

Code inspection, line 104 of src/Plugin/Block/TfaUserLoginBlock.php

Proposed resolution

Replace it with a configFactory property of the block plugin class

Remaining tasks

Commit it.

User interface changes

None

API changes

We're alpha, baby!

Data model changes

None

Comments

jcnventura created an issue. See original summary.

  • 65d22d1 committed on 8.x-1.x
    Issue #3313133 by jcnventura: Use Dependency Injection in...
jcnventura’s picture

Status: Active » Fixed
jcnventura’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.