Skip to content

Commit

Permalink
(hotfix) 临时跳过创建项目的逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
h56983577 committed Oct 24, 2024
1 parent 208bcbb commit 15c14af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloudapi-web/src/main/kotlin/cn/edu/buaa/scs/service/Auth.kt
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class AuthService(val call: ApplicationCall) : IService {

private suspend fun afterLogin(token: String, user: User): LoginUserResponse {
if (user.paasToken.isBlank()) {
call.project.createUser(user.id)
// call.project.createUser(user.id)
}

// insert token in redis (just for compatibility with older platforms)
Expand Down Expand Up @@ -291,7 +291,7 @@ class AuthService(val call: ApplicationCall) : IService {
user.acceptTime = System.currentTimeMillis().toString()
user.flushChanges()

call.project.createUser(user)
// call.project.createUser(user)

return afterLogin(generateRSAToken(user.id), user)
}
Expand Down

0 comments on commit 15c14af

Please sign in to comment.