Closed speza closed 4 years ago
This looks fine but please extract the user handler creation into server.go so init handler remains testable. InitHandler just used the user handler and shouldn't create it. It should be injected like the rest of the handlers.
@Skarlso do you want me to make a UserProivder? and I did the same with RBACHandler, so could make an RBACProvider?
LGTM will merge after testing on the test instance.
Will merge soon