James Moger
2014-10-27 6ec71bc27f23c89f84bfb662ce180af3a9691dd8
src/main/java/com/gitblit/transport/ssh/IPublicKeyManager.java
@@ -79,6 +79,17 @@
      return null;
   }
   public final void renameUser(String oldName, String newName) {
      List<SshKey> keys = getKeys(oldName);
      if (keys == null || keys.isEmpty()) {
         return;
      }
      removeAllKeys(oldName);
      for (SshKey key : keys) {
         addKey(newName, key);
      }
   }
   protected abstract boolean isStale(String username);
   protected abstract List<SshKey> getKeysImpl(String username);