lib/puavo_authentication/controllers/helpers.rb in puavo_authentication-0.0.16 vs lib/puavo_authentication/controllers/helpers.rb in puavo_authentication-0.0.17

- old
+ new

@@ -92,10 +92,10 @@ def organisation_owner? Puavo::Authorization.organisation_owner? end def set_authorization_user - Puavo::Authorization.current_user = current_user ? current_user : nil + Puavo::Authorization.current_user = current_user if current_user end end end end