astakos: check that request.user is a 'User'
Update astakos 'get_menu' API method, to check if request.user is an instance of django User model. This view function called by astakos context processor. However, if astakos and helpdesk are installed together, the request.user will not hold an AnonymousUser, but a dictionary. This issue caused some weird logs when running tests.
Showing with 2 additions and 1 deletion