mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 15:50:16 +02:00
Disable pin check
This commit is contained in:
parent
c3f6fd7f60
commit
652becd685
1 changed files with 3 additions and 1 deletions
|
|
@ -126,7 +126,9 @@ class ServerRepository
|
||||||
}
|
}
|
||||||
if (serverAndUsers != null) {
|
if (serverAndUsers != null) {
|
||||||
val user = serverAndUsers.users.firstOrNull { it.id == userId }
|
val user = serverAndUsers.users.firstOrNull { it.id == userId }
|
||||||
if (user != null && !user.hasPin) {
|
if (user != null) {
|
||||||
|
// TODO pin-related
|
||||||
|
// if (user != null && !user.hasPin) {
|
||||||
changeUser(serverAndUsers.server, user)
|
changeUser(serverAndUsers.server, user)
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue