mirror of
https://github.com/getgrav/grav.git
synced 2026-05-08 23:45:36 +02:00
User: Ignore authenticated and authorized on object creation
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
* Broke out Medium timestamp so it's not cleared on `reset()s`
|
||||
* Fixed issue with `redirect_trailing_slash` losing query string [#2269](https://github.com/getgrav/grav/issues/2269)
|
||||
* Fixed failed login if user attempts to log in with upper case non-english letters
|
||||
* Removed extra authenticated/authorized fields when saving existing user from a form
|
||||
|
||||
# v1.6.0-beta.7
|
||||
## 12/14/2018
|
||||
|
||||
@@ -86,6 +86,13 @@ class User extends Data
|
||||
return $user;
|
||||
}
|
||||
|
||||
public function __construct(array $items = [], $blueprints = null)
|
||||
{
|
||||
unset($items['authenticated'], $items['authorized']);
|
||||
|
||||
parent::__construct($items, $blueprints);
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove user account.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user