Skip to content
This repository has been archived by the owner on Nov 16, 2017. It is now read-only.

Commit

Permalink
RF-13707: fix account display after registering
Browse files Browse the repository at this point in the history
  • Loading branch information
michpetrov committed Jul 9, 2014
1 parent 41f32e5 commit f491c63
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -307,6 +307,7 @@ public void register(User user) {
// Registration was successful, so we can login this user.
try {
this.user = userBean.logIn(user.getLogin(), HashUtils.hash(user.getPassword()));
event.select(new EventTypeQualifier(Events.AUTHENTICATED_EVENT)).fire(new SimpleEvent());
} catch (Exception e) {
error.fire(new ErrorEvent(Constants.LOGIN_ERROR + "\n" + e.getMessage()));
return;
Expand Down

0 comments on commit f491c63

Please sign in to comment.