Skip to content

Commit

Permalink
chore: Remove recaptcha (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
sirambd authored Dec 27, 2024
2 parents 2b68ee0 + a948c2c commit c2a6c54
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 85 deletions.
1 change: 0 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ android {
buildConfigField("String", "PREPROD_URL", "\"https://$preprodHost\"")
buildConfigField("String", "PROD_URL", "\"https://$prodHost\"")

buildConfigField("String", "RECAPTCHA_API_SITE_KEY", "\"6LfaxOgpAAAAAI3Sj4rtB2oAFjkRJILiGEt-LUsc\"")
buildConfigField("String", "GITHUB_REPO_URL", "\"https://github.com/Infomaniak/android-SwissTransfer\"")
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,12 @@ import javax.inject.Singleton
class AccountUtils @Inject constructor(
private val accountManager: AccountManager,
private val accountPreferences: AccountPreferences,
private val uploadRecaptcha: UploadRecaptcha,
) {

suspend fun init() {
accountPreferences.currentUserId?.let {
accountManager.loadUser(it)
}

uploadRecaptcha.initializeClient()
}

suspend fun login(userId: Int = DEFAULT_USER_ID) {
Expand Down

This file was deleted.

0 comments on commit c2a6c54

Please sign in to comment.