diff --git a/README.md b/README.md index bcbfcc77..1d125fad 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # angel_auth -[![version 1.0.1](https://img.shields.io/badge/version-1.0.1-brightgreen.svg)](https://pub.dartlang.org/packages/angel_auth) +[![version 1.0.2](https://img.shields.io/badge/version-1.0.2-brightgreen.svg)](https://pub.dartlang.org/packages/angel_auth) ![build status](https://travis-ci.org/angel-dart/auth.svg?branch=master) A complete authentication plugin for Angel. Inspired by Passport. diff --git a/lib/src/popup_page.dart b/lib/src/popup_page.dart index 88ddbe32..0363e522 100644 --- a/lib/src/popup_page.dart +++ b/lib/src/popup_page.dart @@ -16,6 +16,7 @@ AngelAuthCallback confirmPopupAuthentication({String eventName: 'token'}) { diff --git a/lib/src/strategies/local.dart b/lib/src/strategies/local.dart index 1b4d9e95..38f266de 100644 --- a/lib/src/strategies/local.dart +++ b/lib/src/strategies/local.dart @@ -61,6 +61,7 @@ class LocalAuthStrategy extends AuthStrategy { } if (verificationResult == null) { + await req.parse(); if (_validateString(req.body[usernameField]) && _validateString(req.body[passwordField])) { verificationResult = diff --git a/pubspec.yaml b/pubspec.yaml index be08ab4f..44a04166 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: angel_auth description: A complete authentication plugin for Angel. -version: 1.0.1 +version: 1.0.2 author: Tobe O homepage: https://github.com/angel-dart/angel_auth environment: