lib/osso/routes/admin.rb in osso-0.0.10 vs lib/osso/routes/admin.rb in osso-0.0.11
- old
+ new
@@ -27,9 +27,13 @@
email_from { "Osso <no-reply@#{domain}>" }
verify_account_set_password? true
use_database_authentication_functions? false
+ after_login do
+ Osso::Analytics.identify(email: account[:email], properties: account)
+ end
+
verify_account_view do
render :admin
end
login_view do