This commit is contained in:
Tobe O 2017-12-21 04:12:52 -05:00
parent 4e2a4606d1
commit c891d130b2
3 changed files with 7 additions and 1 deletions

View file

@ -1,2 +1,5 @@
# 1.1.0+2
* `LocalAuthStrategy` returns `true` on `Basic` authentication.
# 1.1.0+1 # 1.1.0+1
* Modified `LocalAuthStrategy`'s handling of `Basic` authentication. * Modified `LocalAuthStrategy`'s handling of `Basic` authentication.

View file

@ -65,6 +65,9 @@ class LocalAuthStrategy extends AuthStrategy {
..end(); ..end();
return false; return false;
} }
res.properties['user'] = verificationResult;
return true;
} }
} }

View file

@ -1,6 +1,6 @@
name: angel_auth name: angel_auth
description: A complete authentication plugin for Angel. description: A complete authentication plugin for Angel.
version: 1.1.0+1 version: 1.1.0+2
author: Tobe O <thosakwe@gmail.com> author: Tobe O <thosakwe@gmail.com>
homepage: https://github.com/angel-dart/angel_auth homepage: https://github.com/angel-dart/angel_auth
environment: environment: