factorio-server-manager icon indicating copy to clipboard operation
factorio-server-manager copied to clipboard

Cannot create new user

Open knoxfighter opened this issue 2 years ago • 4 comments

It isn't possible to create a new user, since the prefilled "role" field is requires. image

knoxfighter avatar Nov 05 '23 12:11 knoxfighter

And when I "enable" the field (by removing the disabled flag) and type something in (gets reset to 'admin'). Then I can save the user.

image

Mattie112 avatar Nov 05 '23 12:11 Mattie112

it seems like the disabled field does not get posted.

matya avatar Jun 02 '24 21:06 matya

This fixed it for me https://github.com/OpenFactorioServerManager/factorio-server-manager/pull/391

matya avatar Jun 02 '24 21:06 matya

asking @knoxfighter if this contribution is OK in this form. I found this project recently and would like to start contributing in small parts to fix some bugs or get some features polished.

matya avatar Jun 03 '24 17:06 matya

Thank you for your contribution. That was a good workaround, but i built a proper version and closed your PR. This issue is now resolved with https://github.com/OpenFactorioServerManager/factorio-server-manager/commit/07dd1b8a30af7b8c2092bdb2ce07daa2c63ca5f3

knoxfighter avatar Jul 04 '24 15:07 knoxfighter