package se.kth.csc.auth;

import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Service;

@Service
@Profile("!ldap")
public class IdNameService implements NameService {
    @Override
    public String nameUser(String userName) {
            return userName; // Do nothing
    }
}

@@ -269,20 +269,16 @@
         
-    
 return u

Fix indent