提交 a3933169 authored 作者: Whispa's avatar Whispa

commit commit

上级 18da053c
......@@ -313,9 +313,10 @@ public class AuthController extends Controller {
String very = gotFromOld ? user.getPassword() : null;
// generate token codes has been moved downwards from if condition of checking if user doesn't exist in database, because even if
// user exist we have to generate token also
if (user.getPassword() == null || gotFromOld) {
//if (user.getPassword() == null || gotFromOld) {
user.setFirebaseUid(firebaseUid);// Assign user from database to the user we have to return back to request
user.setPassword(encoder.encode(firebaseUid));// Assign user from database to the user we have to return back to request
}
///}
fixCode(user);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论