Make it possible to have two subclasses of ProtoUser with separate login-state.
Leave a comment
David, I saw you fixed the salt on the vars. Great! I'm updating my code (trashing my hackarounds)
I'm thinking though, do we not also need to add something for the names of the Locs? They're defined as:
def loginMenuLoc: Box[Menu] =
Full(Menu(Loc("Login", loginPath, S.??("login"), loginMenuLocParams ::: globalUserLocParams)))
for instance and I think the names we're clashing for me before so I had to add something like
val menuNamePrefix: String
override def loginMenuLoc =
Full(Menu(Loc(menuNamePrefix + "Login", loginPath, S.??("login"), loginMenuLocParams ::: globalUserLocParams)))
.....
// + 7 more menuLoc overrides
in my hackaround to use the menus. I realize the title I wrote for this ticket doesn't cover that though but If I could trash those too I would be even more happy :)
Cheers, Viktor
I'm thinking though, do we not also need to add something for the names of the Locs? They're defined as:
def loginMenuLoc: Box[Menu] =
Full(Menu(Loc("Login", loginPath, S.??("login"), loginMenuLocParams ::: globalUserLocParams)))
for instance and I think the names we're clashing for me before so I had to add something like
val menuNamePrefix: String
override def loginMenuLoc =
Full(Menu(Loc(menuNamePrefix + "Login", loginPath, S.??("login"), loginMenuLocParams ::: globalUserLocParams)))
.....
// + 7 more menuLoc overrides
in my hackaround to use the menus. I realize the title I wrote for this ticket doesn't cover that though but If I could trash those too I would be even more happy :)
Cheers, Viktor