diff --git a/CHANGELOG.md b/CHANGELOG.md index 93691bf8..5b9c53f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# 2.1.2 +* Change empty cookie string to have double quotes (thanks @korsvanloon). + # 2.1.1 * Added `scopes` to `ExternalAuthOptions`. diff --git a/lib/src/strategies/local.dart b/lib/src/strategies/local.dart index 74fec23f..86850abe 100644 --- a/lib/src/strategies/local.dart +++ b/lib/src/strategies/local.dart @@ -29,7 +29,7 @@ class LocalAuthStrategy extends AuthStrategy { 'Please provide a valid username and password.', bool this.allowBasic = true, bool this.forceBasic = false, - String this.realm = 'Authentication is required.'}) {} + String this.realm = 'Authentication is required.'}); @override Future authenticate(RequestContext req, ResponseContext res, diff --git a/pubspec.yaml b/pubspec.yaml index 9a91f7eb..86f9aa07 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: angel_auth description: A complete authentication plugin for Angel. Includes support for stateless JWT tokens, Basic Auth, and more. -version: 2.1.1 +version: 2.1.2 author: Tobe O homepage: https://github.com/angel-dart/angel_auth environment: