Commit 6036986f by Tuukka Kivilahti

email also to tikcet thustasdfasdf

1 parent 25e294c8
......@@ -109,6 +109,15 @@ public class InviteAcceptView extends GenericCDIView {
public String loginWithExisting() {
// email-login also to this view, basicly authView does this, but this acceptInvite... does not
String userlogin = userbean.findUsernameByEmailUsername(username.trim());
if (userlogin != null) {
username = userlogin;
}
EventUser eu = userbean.acceptInviteForExistingUser(username, password, token);
if (eu != null) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!