Browse Source

fix(neon): Missing bearer auth

pull/532/head
jld3103 1 year ago
parent
commit
6678d82392
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  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