1
0
mirror of https://github.com/wulkanowy/wulkanowy.git synced 2024-09-20 02:09:09 -05:00

Replace fakelog.cf to wulkanowy.net.pl (#2419)

This commit is contained in:
Rafał Borcz 2024-02-09 13:40:01 +01:00 committed by GitHub
parent 22f72981cb
commit 3f199cb610
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View File

@ -71,7 +71,7 @@ class LoginAdvancedPresenter @Inject constructor(
fun updateUsernameLabel() { fun updateUsernameLabel() {
view?.apply { view?.apply {
setUsernameLabel(if ("vulcan" in formHostValue || "fakelog" in formHostValue) emailLabel else nicknameLabel) setUsernameLabel(if ("vulcan" in formHostValue || "wulkanowy" in formHostValue) emailLabel else nicknameLabel)
} }
} }
@ -79,7 +79,7 @@ class LoginAdvancedPresenter @Inject constructor(
view?.apply { view?.apply {
clearPassError() clearPassError()
clearUsernameError() clearUsernameError()
if (formHostValue.contains("fakelog")) { if (formHostValue.contains("wulkanowy")) {
setDefaultCredentials( setDefaultCredentials(
"jan@fakelog.cf", "jan123", "powiatwulkanowy", "FK100000", "999999" "jan@fakelog.cf", "jan123", "powiatwulkanowy", "FK100000", "999999"
) )

View File

@ -90,7 +90,7 @@ class LoginFormPresenter @Inject constructor(
clearPassError() clearPassError()
clearUsernameError() clearUsernameError()
clearHostError() clearHostError()
if (formHostValue.contains("fakelog")) { if (formHostValue.contains("wulkanowy")) {
setCredentials("jan@fakelog.cf", "jan123") setCredentials("jan@fakelog.cf", "jan123")
} else if (formUsernameValue == "jan@fakelog.cf" && formPassValue == "jan123") { } else if (formUsernameValue == "jan@fakelog.cf" && formPassValue == "jan123") {
setCredentials("", "") setCredentials("", "")

View File

@ -38,7 +38,7 @@ class LoginRecoverPresenter @Inject constructor(
fun onHostSelected() { fun onHostSelected() {
view?.run { view?.run {
if ("fakelog" in recoverHostValue) setDefaultCredentials("jan@fakelog.cf") if ("wulkanowy" in recoverHostValue) setDefaultCredentials("jan@fakelog.cf")
clearUsernameError() clearUsernameError()
updateFields() updateFields()
} }

View File

@ -44,7 +44,7 @@
<item>https://vulcan.net.pl/?login</item> <item>https://vulcan.net.pl/?login</item>
<item>https://vulcan.net.pl/?login</item> <item>https://vulcan.net.pl/?login</item>
<item>https://vulcan.net.pl/?email&amp;customSuffix</item> <item>https://vulcan.net.pl/?email&amp;customSuffix</item>
<item>https://fakelog.cf/?email</item> <item>https://wulkanowy.net.pl/?email</item>
</string-array> </string-array>
<string-array name="hosts_symbols"> <string-array name="hosts_symbols">
<item>Default</item> <item>Default</item>