just-kile / Zapfmaster2000

facebook.com/Zapfmaster2000
2 stars 1 forks source link

Wrong values in database at first admin creation #149

Closed partysalat closed 10 years ago

partysalat commented 10 years ago

If you create an Admin at the install page, the data in the database field name is the POST request body e.g. "name=admin&password=admin"

SHOULD BE: correct entries

thomaskipar commented 10 years ago

Was caused by wrong query parameter. @partysalat please check if everythins is working now and close the issue, if it does.

partysalat commented 10 years ago

Solution is not working.

The frontend POSTs formparams. These should be declared in function head at the backend as e.g. @FormParam("adminName") String adminName,

Maybe thats the problem?

thomaskipar commented 10 years ago

Added missing annotations, please check again.