mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 01:53:31 +00:00
Add a basic form of unsecure authentication (in plain password)
This commit is contained in:
parent
e5aec08c8e
commit
d93c3bb45c
8 changed files with 44 additions and 9 deletions
|
|
@ -54,6 +54,7 @@ public class App extends Application {
|
|||
SubsonicPreferences preferences = new SubsonicPreferences();
|
||||
preferences.setServerUrl(server);
|
||||
preferences.setUsername(username);
|
||||
preferences.setPassword(password);
|
||||
preferences.setAuthentication(password, token, salt);
|
||||
|
||||
return new Subsonic(context, preferences);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue