Repository navigation
do not allow client password logins if token auth is enforced or 2FA … - #24811
Conversation
| * @param TwoFactorAuthManager | ||
| */ | ||
| public function __construct(IUserManager $manager, ISession $session, ITimeFactory $timeFacory, $tokenProvider) { | ||
| public function __construct(IUserManager $manager, ISession $session, ITimeFactory $timeFacory, $tokenProvider, IConfig $config) { |
There was a problem hiding this comment.
$tokenProvider has no type hint, intended?
There was a problem hiding this comment.
yes, because null in injected during setup
b871c05 to
d52585a
Compare
|
@PVince81 @nickvergessen @schiesbn @rullzer @LukasReschke test & review please :-) Tested also with LDAP, seems to work 🙊 |
1fd8191 to
4939f35
Compare
There was a problem hiding this comment.
I'd remove that, let it rely on the default value being false anyway
4939f35 to
91f4708
Compare
|
Looks good 👍 |
|
Second review ? @rullzer @nickvergessen |
91f4708 to
a922957
Compare
|
Awesome! 👍 |
|
Failing test looks unrelated |
|
@ChristophWurst likely due to this PR: #24346 Will rerun the tests on master and make tickets so we can fix these today. |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
…is enabled
fixes #24779
fixes #24768
TODO
Tested with DAV and OCS, works as expected.