larrow/shelter

未登录情况下访问某些页面导致页面出错

fsword opened this issue · 1 comments

未登录情况下访问 http://<side_ip>/library ,会出现类似下面的错误,似乎没有进行统一的鉴权拦截

NoMethodError at /library
undefined method `username' for nil:NilClass
Application Frames All Frames

qinix commented

由于错误的在views中假设了用户已登录导致的这个错误,已修复