From c891d130b25b369854c6293656b635c04a66a47c Mon Sep 17 00:00:00 2001 From: Tobe O Date: Thu, 21 Dec 2017 04:12:52 -0500 Subject: [PATCH] +2 --- CHANGELOG.md | 3 +++ lib/src/strategies/local.dart | 3 +++ pubspec.yaml | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) 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: