-
Notifications
You must be signed in to change notification settings - Fork 7
upgraded mezzio-oauth2 to version 3 #511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 7.0
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -93,7 +93,7 @@ public function saveAdmin(array $data, ?Admin $admin = null): Admin | |
| $admin = new Admin(); | ||
| } | ||
|
|
||
| if (array_key_exists('identity', $data) && $data['identity'] !== null && ! $admin->hasIdentity()) { | ||
| if (array_key_exists('identity', $data) && $data['identity'] !== null) { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The reason we added This was added as an extra security step after the |
||
| $admin->setIdentity($data['identity']); | ||
| } | ||
| if (array_key_exists('password', $data) && $data['password'] !== null) { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We intentionally keep this file like this.
Reason:
As long as the file was not added manually into a project, we want to make sure that the latest version of
vendor/dotkernel/dot-mail/config/mail.global.php.distis being used.