forked from github/wulkanowy-mirror
Replace fakelog.cf to wulkanowy.net.pl (#2419)
This commit is contained in:
parent
22f72981cb
commit
3f199cb610
@ -71,7 +71,7 @@ class LoginAdvancedPresenter @Inject constructor(
|
||||
|
||||
fun updateUsernameLabel() {
|
||||
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 {
|
||||
clearPassError()
|
||||
clearUsernameError()
|
||||
if (formHostValue.contains("fakelog")) {
|
||||
if (formHostValue.contains("wulkanowy")) {
|
||||
setDefaultCredentials(
|
||||
"jan@fakelog.cf", "jan123", "powiatwulkanowy", "FK100000", "999999"
|
||||
)
|
||||
|
@ -90,7 +90,7 @@ class LoginFormPresenter @Inject constructor(
|
||||
clearPassError()
|
||||
clearUsernameError()
|
||||
clearHostError()
|
||||
if (formHostValue.contains("fakelog")) {
|
||||
if (formHostValue.contains("wulkanowy")) {
|
||||
setCredentials("jan@fakelog.cf", "jan123")
|
||||
} else if (formUsernameValue == "jan@fakelog.cf" && formPassValue == "jan123") {
|
||||
setCredentials("", "")
|
||||
|
@ -38,7 +38,7 @@ class LoginRecoverPresenter @Inject constructor(
|
||||
|
||||
fun onHostSelected() {
|
||||
view?.run {
|
||||
if ("fakelog" in recoverHostValue) setDefaultCredentials("jan@fakelog.cf")
|
||||
if ("wulkanowy" in recoverHostValue) setDefaultCredentials("jan@fakelog.cf")
|
||||
clearUsernameError()
|
||||
updateFields()
|
||||
}
|
||||
|
@ -44,7 +44,7 @@
|
||||
<item>https://vulcan.net.pl/?login</item>
|
||||
<item>https://vulcan.net.pl/?login</item>
|
||||
<item>https://vulcan.net.pl/?email&customSuffix</item>
|
||||
<item>https://fakelog.cf/?email</item>
|
||||
<item>https://wulkanowy.net.pl/?email</item>
|
||||
</string-array>
|
||||
<string-array name="hosts_symbols">
|
||||
<item>Default</item>
|
||||
|
Loading…
x
Reference in New Issue
Block a user