app/models/openstax/accounts/account.rb in openstax_accounts-6.1.5 vs app/models/openstax/accounts/account.rb in openstax_accounts-6.1.6

- old
+ new

@@ -30,13 +30,17 @@ (first_name || last_name) ? [first_name, last_name].compact.join(" ") : username end def casual_name first_name || username - end + end def is_anonymous? false + end + + def has_authenticated? + !access_token.nil? end protected def syncing_or_stubbing