Skip to content

Commit

Permalink
feat: login immediately after register
Browse files Browse the repository at this point in the history
  • Loading branch information
Veirt committed Dec 12, 2024
1 parent 35c55da commit fd15ae3
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ class AuthRepository(private val context: Context) {
role = role
)
)

login(email, password)

Result.success(response)
} catch (e: HttpException) {
val errorBody = ApiConfig.parseError(e.response()!!)
Expand Down

0 comments on commit fd15ae3

Please sign in to comment.