diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a7688b0..fabce8a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,5 @@ +# 1.1.0+2 +* `LocalAuthStrategy` returns `true` on `Basic` authentication. + # 1.1.0+1 * Modified `LocalAuthStrategy`'s handling of `Basic` authentication. diff --git a/lib/src/strategies/local.dart b/lib/src/strategies/local.dart index 24f32a79..1483da82 100644 --- a/lib/src/strategies/local.dart +++ b/lib/src/strategies/local.dart @@ -65,6 +65,9 @@ class LocalAuthStrategy extends AuthStrategy { ..end(); return false; } + + res.properties['user'] = verificationResult; + return true; } } diff --git a/pubspec.yaml b/pubspec.yaml index e7e3e6c9..e61d1d33 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: angel_auth description: A complete authentication plugin for Angel. -version: 1.1.0+1 +version: 1.1.0+2 author: Tobe O homepage: https://github.com/angel-dart/angel_auth environment: