mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
fix wrong log message
This commit is contained in:
@@ -170,8 +170,9 @@ public class BasicSecurityContext implements WebSecurityContext
|
|||||||
{
|
{
|
||||||
if (logger.isDebugEnabled())
|
if (logger.isDebugEnabled())
|
||||||
{
|
{
|
||||||
logger.debug("user '{}' is marked as admin by local database",
|
logger.debug(
|
||||||
user.getType(), user.getName());
|
"user '{}' of type '{}' is marked as admin by local database",
|
||||||
|
user.getName(), user.getType());
|
||||||
}
|
}
|
||||||
|
|
||||||
user.setAdmin(true);
|
user.setAdmin(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user