consometers / consoherozh

Visualisation de conso d’énergie
https://www.consoherozh.fr
Other
1 stars 1 forks source link

creating a new user fails due to missing/null applicationKey #6

Open artlog opened 2 years ago

artlog commented 2 years ago

As adminstrator (ROLE_ADMIN), using user/users page and creating a new user will fails once filled form is submitted.

La propriété [applicationKey] de la classe [class smarthome.security.User] ne peut pas être nulle

There is no editable field to set applicationKey.

artlog commented 2 years ago

applicationKey should be created on server side and this is security wise to not edit on client side to protect against impersonalization. Should it be accepted to be null ? This is used for agents but is it still relevant in generic usage case for consoherozh ?