mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-09 16:11:20 +02:00
Add user PIN protection (#719)
## Description Adds (back) the ability to set a per-user PIN. This is required to switch to the user. If the user has a PIN, this overrides and ignores the "Sign in automatically" setting for that user. The PIN consists of any combination of D-Pad directional buttons. If you forget the PIN, you can click the button to login via the server instead (ie QuickConnect or username/password) which will also remove the PIN so you can set a new one if desired. ### Related issues Closes #268 Replaces #398 Related to #321 & #356 ### Screenshots 
This commit is contained in:
parent
946043342a
commit
0f52616d21
4 changed files with 20 additions and 21 deletions
|
|
@ -142,8 +142,6 @@ class ServerRepository
|
|||
} else {
|
||||
val user = serverAndUsers.users.firstOrNull { it.id == userId }
|
||||
if (user != null) {
|
||||
// TODO pin-related
|
||||
// if (user != null && !user.hasPin) {
|
||||
return changeUser(serverAndUsers.server, user)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue