Show More
@@ -127,14 +127,14 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.username) | |
|
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.username) | |
|
135 | 135 | return user_attrs |
|
136 |
log. |
|
|
137 | "authenticating on this plugin", userobj) | |
|
136 | log.warn("user `%s` used a wrong password when " | |
|
137 | "authenticating on this plugin", userobj.username) | |
|
138 | 138 | return None |
|
139 | 139 | else: |
|
140 | 140 | log.warning( |
@@ -137,7 +137,7 b' class RhodeCodeAuthPlugin(RhodeCodeAuthP' | |||
|
137 | 137 | 'user `%s` successfully authenticated via %s', |
|
138 | 138 | user_attrs['username'], self.name) |
|
139 | 139 | return user_attrs |
|
140 |
log. |
|
|
140 | log.warn( | |
|
141 | 141 | 'user `%s` failed to authenticate via %s, reason: bad or ' |
|
142 | 142 | 'inactive token.', username, self.name) |
|
143 | 143 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now