Show More
@@ -281,5 +281,5 b' class RhodeCodeAuthPlugin(RhodeCodeExter' | |||
|
281 | 281 | if group in user_attrs["groups"]: |
|
282 | 282 | user_attrs["admin"] = True |
|
283 | 283 | log.debug("Final crowd user object: \n%s" % (formatted_json(user_attrs))) |
|
284 | log.info('user %s authenticated correctly' % user_attrs['username']) | |
|
284 | log.info('user `%s` authenticated correctly' % user_attrs['username']) | |
|
285 | 285 | return user_attrs |
@@ -163,5 +163,5 b' class RhodeCodeAuthPlugin(RhodeCodeExter' | |||
|
163 | 163 | 'extern_type': extern_type, |
|
164 | 164 | } |
|
165 | 165 | |
|
166 | log.info('user %s authenticated correctly' % user_attrs['username']) | |
|
166 | log.info('user `%s` authenticated correctly' % user_attrs['username']) | |
|
167 | 167 | return user_attrs |
@@ -486,7 +486,7 b' class RhodeCodeAuthPlugin(RhodeCodeExter' | |||
|
486 | 486 | 'extern_type': extern_type, |
|
487 | 487 | } |
|
488 | 488 | log.debug('ldap user: %s', user_attrs) |
|
489 | log.info('user %s authenticated correctly', user_attrs['username']) | |
|
489 | log.info('user `%s` authenticated correctly', user_attrs['username']) | |
|
490 | 490 | |
|
491 | 491 | return user_attrs |
|
492 | 492 |
@@ -157,5 +157,5 b' class RhodeCodeAuthPlugin(RhodeCodeExter' | |||
|
157 | 157 | pass |
|
158 | 158 | |
|
159 | 159 | log.debug("pamuser: %s", user_attrs) |
|
160 | log.info('user %s authenticated correctly' % user_attrs['username']) | |
|
160 | log.info('user `%s` authenticated correctly' % user_attrs['username']) | |
|
161 | 161 | return user_attrs |
@@ -127,11 +127,11 b' class RhodeCodeAuthPlugin(RhodeCodeAuthP' | |||
|
127 | 127 | |
|
128 | 128 | if userobj.username == User.DEFAULT_USER and userobj.active: |
|
129 | 129 | log.info( |
|
130 | 'user %s authenticated correctly as anonymous user', userobj) | |
|
130 | 'user `%s` authenticated correctly as anonymous user', userobj) | |
|
131 | 131 | return user_attrs |
|
132 | 132 | |
|
133 | 133 | elif userobj.username == username and password_match: |
|
134 | log.info('user %s authenticated correctly', userobj) | |
|
134 | log.info('user `%s` authenticated correctly', userobj) | |
|
135 | 135 | return user_attrs |
|
136 | 136 | log.info("user %s had a bad password when " |
|
137 | 137 | "authenticating on this plugin", userobj) |
@@ -100,7 +100,7 b' class RhodeCodeAuthPlugin(RhodeCodeExter' | |||
|
100 | 100 | } |
|
101 | 101 | |
|
102 | 102 | log.debug('EXTERNAL user: \n%s' % formatted_json(user_attrs)) |
|
103 | log.info('user %s authenticated correctly' % user_attrs['username']) | |
|
103 | log.info('user `%s` authenticated correctly' % user_attrs['username']) | |
|
104 | 104 | |
|
105 | 105 | return user_attrs |
|
106 | 106 |
General Comments 0
You need to be logged in to leave comments.
Login now