Hi, These approach will cause a lot of trouble for example when users change email they will lose access to their sync data. In my opinion it will be better to have sync login like this: [email protected] or even owncloud_login@anydomain. What do you think about it?
WBR Michal Jaskurzynski 2012/5/26 Jakob Sack <[email protected]>: > Hi, > > sorry for the late answer. I've been ways too busy last week. > On a first glance, the coding style looks fine. > I aggree with Michael that you should not implement another users table. In > my opinion it's better to solve the problem the following way: > - in ownCloud the user has to enter it's email address (use the same email > address as in "lost password", it's saved in preferences, appid = > "settings", configkey = "email"). The user can enter this email using the > settings or the interface in your app. > - then the user does create a new account in firefox sync. If the email does > not exist or the passwords do not match with the password of the user, then > return an error code. > > Regards, > > Jakob > > > Am 24.05.2012 20:18, schrieb Michał Jaskurzyński: >> >> Hi, >> >> Sorry for my late answer. I was moving my code to became an app . >> >>> Can you explain to me who the users are that you need to create and >>> authenticate? Are these different people using the same Mozilla sync? Are >>> these not users on the ownCloud instance? >> >> >> User is mozilla sync service account. To this account user can connect >> his/her devices. There can't be integrated with existing owncloud >> users because firefox needs first device to create new account giving >> email, password and retype password. >> >> WBR >> Michal >> _______________________________________________ >> Owncloud mailing list >> [email protected] >> https://mail.kde.org/mailman/listinfo/owncloud > > > _______________________________________________ > Owncloud mailing list > [email protected] > https://mail.kde.org/mailman/listinfo/owncloud _______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud
