2.0.4
This commit is contained in:
parent
8e9c85cb96
commit
68bf356572
3 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,6 @@
|
|||
# 2.0.4
|
||||
* `successRedirect` was previously explicitly returning a `200`; remove this and allow the default `302`.
|
||||
|
||||
# 2.0.3
|
||||
* Updates for streaming parse of request bodies.
|
||||
|
||||
|
|
|
@ -306,7 +306,7 @@ class AngelAuth<User> {
|
|||
}
|
||||
|
||||
if (options?.successRedirect?.isNotEmpty == true) {
|
||||
res.redirect(options.successRedirect, code: 200);
|
||||
res.redirect(options.successRedirect);
|
||||
return false;
|
||||
} else if (options?.canRespondWithJson != false &&
|
||||
req.accepts('application/json')) {
|
||||
|
|
|
@ -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.0.3
|
||||
version: 2.0.4
|
||||
author: Tobe O <thosakwe@gmail.com>
|
||||
homepage: https://github.com/angel-dart/angel_auth
|
||||
environment:
|
||||
|
|
Loading…
Reference in a new issue