This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch db/8572
in repository https://gitbox.apache.org/repos/asf/allura.git


The following commit(s) were added to refs/heads/db/8572 by this push:
     new b9a0b1d05 fixup! fixup! [#8572] option to force pwd changes for all, 
similar to logic after a HIBP hit
b9a0b1d05 is described below

commit b9a0b1d059f3dc26e06043819b0d2a41569538f5
Author: Dave Brondsema <[email protected]>
AuthorDate: Mon Dec 23 16:31:28 2024 -0500

    fixup! fixup! [#8572] option to force pwd changes for all, similar to logic 
after a HIBP hit
---
 Allura/allura/lib/plugin.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Allura/allura/lib/plugin.py b/Allura/allura/lib/plugin.py
index e15825718..6f48524cb 100644
--- a/Allura/allura/lib/plugin.py
+++ b/Allura/allura/lib/plugin.py
@@ -206,7 +206,6 @@ class AuthenticationProvider:
 
         login_details = self.get_login_detail(self.request, user)
 
-        log.info(f'{multifactor_success=} {user.username=} {login_details=}')
         expire_reason = None
         if self.is_password_expired(user):
             h.auditlog_user('Successful login; Password expired', user=user)
@@ -239,7 +238,6 @@ class AuthenticationProvider:
 
         # check setting to force pwd changes after date
         before = asint(config.get('auth.force_pwd_change_after', 0))
-        log.info(f'force_pwd_change_after={datetime.utcfromtimestamp(before)} 
{self.get_last_password_updated(user)=}')
         if before and self.get_last_password_updated(user) < 
datetime.utcfromtimestamp(before):
             reason = 'requiring a password change'
             reason_code = 'force_pwd_change'

Reply via email to