rashidkpc/Kibana — pull request #194 by smsldoo (2012-12-08 16:46:31+00:00)
Title: Added locals[:type] for User and Group when editing account 

Editing an account returned:

NoMethodError at /auth/admin/save
undefined method `empty?' for nil:NilClass

This was caused by User and Group locals[:type] not being set and passed to the POST.

POST info showed:

Variable	Value
is_admin	"on"
mode	"edit"
name	"kibana"

Instead of:

Variable	Value
is_admin	"on"
mode	"edit"
Username	"kibana"