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() {
|
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"
|
||||||
)
|
)
|
||||||
|
@ -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("", "")
|
||||||
|
@ -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()
|
||||||
}
|
}
|
||||||
|
@ -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&customSuffix</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>
|
||||||
<string-array name="hosts_symbols">
|
<string-array name="hosts_symbols">
|
||||||
<item>Default</item>
|
<item>Default</item>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user