Menu

#277 Creating account from web page

None
closed-fixed
nobody
None
5
2024-03-24
2016-03-31
No

Is there a way to create an account from a web page? Looks like something might be needed as was done for this issue.

Tried to debug but was unable to. I'll keep investigating and updating here as I progress.

Discussion

  • Anonymous

    Anonymous - 2016-03-31

    This is how accounts should be created: accountDAO.addPlayer(transaction, username, Hash.hash(password), email);

     
  • Anonymous

    Anonymous - 2016-03-31

    I would strongly suggest changing the signature on the add player method so it takes the string password and the Hash.hash is done internally in the method. When you see parameter as []byte you immediately think about String.getBytes()

     
  • Hendrik Brummermann

    • status: open --> closed-fixed
    • Group: -->
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB