pub async fn profiles_unlock_with_password(
app: AppHandle,
db: State<'_, DatabaseWrapper>,
creds: State<'_, CredentialStoreWrapper>,
auth_manager: State<'_, AuthManagerWrapper>,
repository_manager: State<'_, RepositoryManagerWrapper>,
session_poller: State<'_, SessionPollerWrapper>,
user_id: String,
password: String,
device_id: String,
) -> Result<UnlockOutcome, String>Expand description
Enter a profile with its Jellyfin password, for someone who has forgotten their PIN.
There is deliberately no reset token and no recovery secret: the account’s own password is already the authority over it, and a second credential guarding the same thing would only be a weaker one. A successful password entry also clears the lockout, which is what makes a forgotten PIN a detour rather than a dead end.
TRACES: UR-084 | DR-269