Browse Source

Merge pull request #532 from provokateurin/fix/missing-bearer-auth

fix(neon): Missing bearer auth
pull/534/head
Kate 1 year ago committed by GitHub
parent
commit
259b175b8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      packages/neon/neon/lib/src/models/account.dart

3
packages/neon/neon/lib/src/models/account.dart

@ -18,7 +18,7 @@ abstract interface class Credentials {
/// Username /// Username
abstract final String username; abstract final String username;
/// Password /// App password
abstract final String? password; abstract final String? password;
} }
@ -34,6 +34,7 @@ class Account implements Credentials {
serverURL, serverURL,
loginName: username, loginName: username,
password: password, password: password,
appPassword: password,
userAgentOverride: userAgent, userAgentOverride: userAgent,
cookieJar: CookieJar(), cookieJar: CookieJar(),
); );

Loading…
Cancel
Save