In the elevator, the whole ProtoUser construction is quite amazing, amazing what it does for you, most of the advantages (for example, many things in the elevator, unfortunately) are not documented.
There is only one problem: it contains data that I do not need, and even data that I do not want. For example, I want my user to enter by nickname, and I do not need to know his location, locale or first / last name. But when registering, I need information that is not displayed on the standard registration page.
My first idea would be to rewrite my own User trait, but then I would have to rewrite all the session code, authorization, etc. Is there already an alternative? Or can I change ProtoUser to have my own registration and login pages, as well as only my necessary data?
Thank you for listening.
scala lift
Lanbo
source share