Skip to content

Commit

Permalink
Merge branch 'release/v1.2.9'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Schendel committed Feb 28, 2023
2 parents e6f07ea + f0a6ee8 commit 2ea178c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AppApi.module.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static function getModuleInfo() {
return [
'title' => 'AppApi',
'summary' => 'Module to create a REST API with ProcessWire',
'version' => '1.2.8',
'version' => '1.2.9',
'author' => 'Sebastian Schendel',
'icon' => 'terminal',
'href' => 'https://modules.processwire.com/modules/app-api/',
Expand Down
2 changes: 1 addition & 1 deletion classes/Auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public function ___doLogin($data) {
}

if (
!$loggedIn &&
(!$user || !$user->id) &&
in_array($accessMethod, ['email-password', 'any-password']) &&
in_array('logintypeEmailPassword', $allowedLoginTypes)
) {
Expand Down

0 comments on commit 2ea178c

Please sign in to comment.