mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 10:19:33 +02:00
authentication related things: updates
This commit is contained in:
parent
67eab47313
commit
bb9a9d7fa5
10 changed files with 159 additions and 137 deletions
|
@ -246,11 +246,10 @@ public class AuthenticationActivity extends Activity {
|
|||
|
||||
private void runCustomAuthentication(final String username, final String password) {
|
||||
final NetworkAuthenticationManager mgr = myLink.authenticationManager();
|
||||
mgr.UserNameOption.setValue(username);
|
||||
final Runnable runnable = new Runnable() {
|
||||
public void run() {
|
||||
try {
|
||||
mgr.authorise(password);
|
||||
mgr.authorise(username, password);
|
||||
if (mgr.needsInitialization()) {
|
||||
mgr.initialize();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue