play-authenticate
play-authenticate copied to clipboard
Cannot merge accounts
I got this error when trying to merge 2 accounts:
[PersistenceException: The default EbeanServer has not been defined? This is normally set via the ebean.datasource.default property. Otherwise it should be registered programatically via registerServer()]
in User model line 398
// deactivate the merged user that got added to this one
397 otherUser.active = false;
398 Ebean.save(Arrays.asList(new User[]{otherUser, this}));
399 }
400
401 public static User create(final AuthUser authUser) {
402 final User user = new User();
403 // user.roles = Collections.singletonList(SecurityRole
Have you set up Ebean? You should have something like this in your conf/application.conf
:
ebean.default="models.*"