Skip to content

Commit

Permalink
Format login event
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWingard committed Nov 16, 2010
1 parent 5487967 commit c9b71de
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion site/src/umts_eventlog.erl
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ format_event_event(#wtt_event{user = UserID, card = CardID, kind = Kind}) ->
del_haver ->
"no longer haves"
end,
wf:f("~s ~s ~s", [User#users.name, Action, Card#cards.name]);
wf:f("~s ~s ~s", [User#users.display, Action, Card#cards.name]);
format_event_event(#login_event{user = UserID}) ->
User = umts_db:get_user(UserID),
wf:f("~s logged in", [User#users.display]);
format_event_event(Event) ->
not_ok.

0 comments on commit c9b71de

Please sign in to comment.