lib/mortar/command/auth.rb in mortar-0.7.3 vs lib/mortar/command/auth.rb in mortar-0.7.4

- old
+ new

@@ -64,10 +64,12 @@ # display your mortar email address # def whoami validate_arguments! - display Mortar::Auth.user + if Mortar::Auth.has_credentials + display Mortar::Auth.user + end end end