Changeset - 959990cde96a
[Not reviewed]
default
0 1 0
ethanzonca - 16 years ago 2009-07-30 16:02:30

So somehow it doesn't catch if your username isn't the default...
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/server/slavefuncs.c
Show inline comments
 
@@ -92,9 +92,10 @@ int register_user(char *username, char *
 

	
 
  /* @TODO: Parse the output buffer or something to check when user creation fails due to duplicate users. This is pretty important. */
 

	
 

	
 
  conf_replace(username); // puts the person's username in the conf
 
  ssh_keygen(); // generates keys for login, @TODO: pub key must somehow be sent to the server.
 

	
 
  conf_replace(username); // puts the person's username in the conf
 
  return 1;
 
}
 

	
0 comments (0 inline, 0 general)