Skip to content
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

update fork #1

Merged
merged 1,617 commits into from
Aug 2, 2018
Merged
Changes from 1 commit
Commits
Show all changes
1617 commits
Select commit Hold shift + click to select a range
777a670
[com_ajax] Change modules check (#19818)
Septdir Mar 17, 2018
a6cea4a
Categories: Allow sorting by Associations (#19821)
infograf768 Mar 17, 2018
599c0bf
Article and contact modal should not use addslashes (#19826)
infograf768 Mar 17, 2018
49da7bd
Menu tems select field: no need to escape string value (#19828)
infograf768 Mar 17, 2018
6e5ac32
Allow limiting calendar field to current year (#19846)
ggppdk Mar 17, 2018
286c8e6
Update JHtml::calendar to support relative years limits (#19847)
ggppdk Mar 17, 2018
c35ef51
Simplify switch statement (#19849)
shur Mar 17, 2018
fede2d4
[CS] Code style Fix some inline doc blocks for IDE hinting - round 1 …
photodude Mar 17, 2018
33c5dd5
Fix some docblocks and comments (#19863)
photodude Mar 17, 2018
476028f
Custom admin menus: Translating menu items titles (#19900)
infograf768 Mar 17, 2018
a4db99f
adapt default values (#19924)
ReLater Mar 17, 2018
5a2b1c1
Use getter method (#19925)
ReLater Mar 17, 2018
c784a6a
Custom Admin menu item edit: Display Title, Parent Item and Ordering …
infograf768 Mar 17, 2018
5c853dd
In theory, you may not always be working with the default database. S…
okonomiyaki3000 Mar 17, 2018
4172f79
[plugin][content] - loadmodule by id (#19362)
alikon Mar 17, 2018
db9b818
Revert "[plugin][content] - loadmodule by id (#19362)" (#19931)
mbabker Mar 17, 2018
dc21181
Category Modal - add notes (#19131)
brianteeman Mar 17, 2018
e9ba23b
Please consider a blank line preceding your comment (#19936)
photodude Mar 18, 2018
e2befb0
Fix typo in editor field (#19938)
bembelimen Mar 19, 2018
b56a9d0
[CS] long form function return types; round 1 (#19934)
photodude Mar 19, 2018
f96b984
[libraries][legacy][request] - fix php 7.1 warning not numeric (#19710)
alikon Mar 25, 2018
7fcc0e2
[com_fields] Normalise the request com_fields data (#19884)
laoneo Mar 25, 2018
116138f
[event dispatcher] - use strict comparison (#19907)
alikon Mar 25, 2018
4021540
[com_users] Fix display of custom field of value 0 (#19933)
Mar 25, 2018
6a1f5ac
[CS] long form function return types; round 2 (#19935)
photodude Mar 25, 2018
3c6b4b8
Redirects Plugin - Make Relative or Absolute. (#19942)
tonypartridge Mar 25, 2018
0048a5d
Make calendar output usable in other css-frameworks (#19944)
degobbis Mar 25, 2018
221d848
Fix for duplicate url check bug introduced by #19734 and support utf8…
tonypartridge Mar 25, 2018
8484317
solved issue number #19930 (#19969)
amone4 Mar 25, 2018
136c7eb
Removed text-output and enabled a disabled tick box for consistency (…
tonypartridge Mar 25, 2018
dbd33e5
Change to allow str_pos to match when the exclude term is at the root…
tonypartridge Mar 25, 2018
7f0d819
Fix for #11070 (tag-category) - Improve also views newsfeed-category …
rvbgnu Mar 25, 2018
e25f741
Simple enhancement to allow the user to make all Post Install Message…
tonypartridge Mar 29, 2018
da10da8
[com_mailto] Add missing placeholder (#19999)
Mar 29, 2018
9b0ad04
Make sure items is an array. (#20000)
tonypartridge Mar 29, 2018
59fff4e
[com_fields] Fix fields display HTML prepared 4 or 5 times per articl…
ggppdk Mar 29, 2018
ac792d8
fix media field in ISIS Template (#17205)
nielsnuebel Mar 29, 2018
850948c
[3.x] New sessiongc plugin is not declared as core plugin for manifes…
zero-24 Apr 1, 2018
4b95b2a
[module] [articles category] filter by multiple tags (#19983)
alikon Apr 1, 2018
8cafd36
[com_finder] Remove unused params (#20009)
SharkyKZ Apr 1, 2018
bea22cb
Two new fonts for CodeMirror: IBM Plex Mono, Nanum Gothic Coding (#20…
okonomiyaki3000 Apr 1, 2018
426bce0
CategoryEdit field published filter (#20018)
SharkyKZ Apr 1, 2018
cc160f7
Smart Search: Highlighting terms also in fulltext when using readmore…
infograf768 Apr 1, 2018
b1712e8
Escape full query in NestedTable debug mode (#20024)
SniperSister Apr 1, 2018
55da14e
Changed viewname filter in RouteHelper (#20031)
SniperSister Apr 1, 2018
2a32a75
Fix GMail plugin so it doesn't crash and burn on 4.0 upgrades (#20043)
mbabker Apr 3, 2018
68f074b
Tweak build script for added flexibility (#19848)
mbabker Apr 4, 2018
3b7bdf9
Refresh Manifest Cache failed: Extension is not currently installed (…
brianteeman Apr 7, 2018
df11df4
Remove rtrim() since it allows invalid emails (#20080)
OctavianC Apr 7, 2018
0c82311
Custom Fields toggle display on read only rights (#20068)
Ruud68 Apr 7, 2018
a28c562
Fixed page with multiple codemirror editors fields with different syn…
ggppdk Apr 7, 2018
de43129
Fix for: Can't choose module using editor plugin if you search first …
Apr 7, 2018
469ccaf
Basic check to make sure the bulk import seperator is being used. (#1…
tonypartridge Apr 7, 2018
6267a29
Changed none selected to none, to be used when there are none availab…
tonypartridge Apr 7, 2018
0171a5a
Corrected bug on empty subject of com_mailto (#19956)
emmanuel-tsalampounis Apr 7, 2018
ba65f4f
text corrections (#20111)
mino182 Apr 8, 2018
6730c82
Typo and copy paste error (#20123)
brianteeman Apr 9, 2018
8676ecc
correct the use of the use command and move it below the defined comm…
zero-24 Apr 10, 2018
d8a87d1
Prepare 3.8.7 RC
Apr 10, 2018
b5b9d49
Reset for dev
Apr 10, 2018
d00ab7c
Add a security policy (#20163)
brianteeman Apr 18, 2018
eb12f41
Prepare 3.8.7 release
Apr 18, 2018
0aaf9e8
Reset for dev
Apr 18, 2018
c6d1f14
Introduce CODEOWNERS (#20137)
mbabker Apr 19, 2018
8d1aafa
Tidy writeDynaList() (#12184)
milux Apr 20, 2018
5a9eaab
[fix] publish/unpublish does not work with tables using null as defau…
phproberto Apr 22, 2018
693d3d7
Fix overwrite by .table-striped (#20180)
mansourcodes Apr 22, 2018
51ac0f7
Fix overwrite by .table-striped (#20179)
mansourcodes Apr 22, 2018
dc4b2df
Tooltips not loading com_users (#20177)
brianteeman Apr 22, 2018
28e46b1
[a11y] Headings consecutive order Debug Console (#20167)
brianteeman Apr 22, 2018
034beb4
[a11y] Headings consecutive order (#20166)
brianteeman Apr 22, 2018
4855be4
Fix typos in InstallerControllerUpdate (#20154)
joomdonation Apr 22, 2018
cb24280
[com_contact] Don't hide contact filter form (#20126)
SharkyKZ Apr 22, 2018
f0aef96
Fix for JUserHelper::addUserToGroup() when user group title is a numb…
SharkyKZ Apr 22, 2018
e05d733
Fix count() in PHP 7.2 (#20044)
Apr 22, 2018
0b349eb
[com_content][Multilanguage] - remove duplicated queries (#19683)
alikon Apr 22, 2018
49e681f
Make CodeMirror work in repeatable subforms (#12542)
okonomiyaki3000 Apr 22, 2018
c12c682
Call the popover init function when creating new subform rows. (#20222)
okonomiyaki3000 Apr 29, 2018
2bf24f2
[a11y] post-installation message in control panel (#20220)
brianteeman Apr 29, 2018
8b480c7
Solves issue #20195 (#20214)
degobbis Apr 29, 2018
3400df5
[plugin][search][content] give priority on result when title is match…
alikon Apr 29, 2018
9ea7106
You've Got Mail (#20162)
brianteeman Apr 29, 2018
ad4bc00
Support Codemirror's included key mappings (#19833)
okonomiyaki3000 Apr 29, 2018
116a507
Don't expose LDAP authentication usage. (#18531)
HLeithner Apr 29, 2018
a6e20f9
Handle the case that JFolder::files returns 'false' (#11715)
okonomiyaki3000 Apr 29, 2018
9780ed3
Initialize tooltips when a new a row is added in a subform (#12996)
okonomiyaki3000 Apr 29, 2018
3d9ce7f
Missing space (#20260)
SharkyKZ Apr 30, 2018
539603f
Tiny JLanguage::loadLanguage() code improvement (#20257)
Apr 30, 2018
960e1ef
[com_content] Remove redundant check (#20254)
Apr 30, 2018
e99b38d
Update articles.php (#20245)
SharkyKZ Apr 30, 2018
f632960
[com_config] Capitalize label (#20299)
May 4, 2018
3ca70d0
Implement Issue Templates as discussen in #20298
zero-24 May 5, 2018
dfa167c
[fix] openbase_dir processing (#20280)
rvalitov May 5, 2018
13491f6
CodeMirror updated to version 5.37.0 (#20269)
okonomiyaki3000 May 5, 2018
f24c7d4
Use title from menu item (#20267)
SharkyKZ May 5, 2018
65297f8
Change the defaults for new installs to disable com_mailto in article…
zero-24 May 5, 2018
29a2bd3
Don't enable sending the PW on new installs (#20247)
zero-24 May 5, 2018
0042b1a
Optimization and fix of multilingual associations and add layouts to …
Septdir May 5, 2018
adb7651
Add checksum generation to the build script
mbabker May 6, 2018
d86351c
Hide Enabled/Disabled users column headers and be a11y compliant (#20…
May 10, 2018
8d9c230
Code mirror autofocus issue (#20270)
okonomiyaki3000 May 10, 2018
9f59946
Add a deprecated flag in database query for a few union/unionAll/unio…
csthomas May 10, 2018
b7cdd78
Add showon attribute (#20156)
May 10, 2018
f9c5d4d
[com_contact] Display 0 value with custom field (#20124)
May 10, 2018
49dce15
fix custom fields with tab format (#20023)
eshiol May 10, 2018
581a23c
Show a sample editor on the CodeMirror plugin config page. (#17042)
okonomiyaki3000 May 10, 2018
7ee41b1
hiddenFieldsets & configFieldsets needs to be defined (#16856)
zero-24 May 12, 2018
f8e7344
Fix subform repeat counter. (#19693)
Sophist-UK May 12, 2018
88117e1
Fixing so that editors-xtd plugins works with com_ajax (#17939)
johansundell May 13, 2018
7f839e3
[Plugins] Add filters to manifest files. (#20410)
SharkyKZ May 15, 2018
fe621e5
URL Menu Item Type link should be required. (#20392)
infograf768 May 15, 2018
8028bc7
Fix up the protostar template.js (#20224)
okonomiyaki3000 May 15, 2018
ff7addc
Bootstrap alert compatible (#18909)
saharin88 May 15, 2018
b950107
Add PHP 7.3 polyfill (#20441)
mbabker May 17, 2018
e7cda7f
[com_finder] Fix regression #19969 (#20411)
May 18, 2018
c8d5db4
[com_finder] - fix update inner join syntax for postgres (#19964)
alikon May 18, 2018
ad803a7
Update tag.php (#19951)
May 18, 2018
c60da2b
Change the Administrator group's filtering to use the default blacklist
May 18, 2018
ef8fba9
Add postinstall message explaining revised default settings
May 18, 2018
1979fe9
Prepare 3.8.8 Release Candidate
May 18, 2018
4077a74
Reset for dev
May 18, 2018
c396b5c
Typo in nl-NL installation language file (#20460)
May 19, 2018
cf4c5df
Update joomla/filter package
May 20, 2018
f4d38ec
Update joomla/application package
May 20, 2018
1d8a064
Store plaintext passwords in a separate options key, do not display p…
May 20, 2018
99ed72d
Prepare 3.8.8 release
May 20, 2018
28aef91
When JFeed was moved, old files were never deleted
May 22, 2018
f23b679
Reset for dev
May 22, 2018
a294f66
Correctly escape the random image module output (#20533)
mbabker May 22, 2018
d188e8a
Finally com_mailto allow the usage of a captcha by using JForm (#20265)
zero-24 May 23, 2018
bb5a446
Remove check for a valid form from two places in plugins (#20277)
zero-24 May 23, 2018
5e423b6
Fallback to integer (#20338)
SharkyKZ May 23, 2018
39620fc
[plg_user_profile] Misc fixes (#20412)
SharkyKZ May 23, 2018
e25596e
[plg_fields] Manifest cleanup, filters, Editor plugin fix (#20422)
SharkyKZ May 24, 2018
bf700a4
[plg_system] Manifest file filters (#20456)
SharkyKZ May 24, 2018
8b49838
[CS] fix some doc comment types (#20522)
photodude May 24, 2018
c18e3da
[styles] Fix checkboxes/buttons not clickable under Menu Assignment i…
May 24, 2018
cb775ed
[Regression] Menu item type url with rel attribute nofollow (#19949)
Devportobello May 24, 2018
56b89ce
To many elements to index (#13868)
tomekstach May 24, 2018
66debe9
Update joomla/filter package (#20579 and #20580)
mbabker May 26, 2018
a8d5f7d
Fix folder browsing and file upload that broke in 3.8.8 due to escapi…
PhilETaylor May 28, 2018
c169e8b
standardise contact strings (#20577)
brianteeman May 28, 2018
73c2ae3
Enable to change FormData in com_menu (#20313)
euismod2336 May 28, 2018
f9ad33f
fix typo in installation string (#20607)
brianteeman May 29, 2018
58cd2dc
Resync deleted files list back to 1.7.3 tag (#20564)
mbabker May 30, 2018
b67d16f
Add additional check that view exists before proceeding (#18757)
tonypartridge Jun 2, 2018
8718160
Default installation value in configuration.php-dist (#20655)
brianteeman Jun 3, 2018
f35af12
CodeMirror updated to 5.38.0 (#20636)
okonomiyaki3000 Jun 4, 2018
cfa9bce
Bump Composer dependencies (#20583)
mbabker Jun 4, 2018
7e938bc
[fix] Error decoding JSON data: Syntax error (#20663)
phproberto Jun 5, 2018
3ab1eb9
Don't try to json_decode() a null value (#20675)
mbabker Jun 6, 2018
74e4327
Joomla\CMS\Categories\Categories fix (#20680)
Denitz Jun 6, 2018
0c737b5
[CS] fix some doc comment types (round 2) (#20647)
photodude Jun 8, 2018
534bcac
[Newsfeeds] Use item link instead of guid. (#20717)
SharkyKZ Jun 12, 2018
810355e
Verb wrong tense (#20708)
brianteeman Jun 12, 2018
ec8973f
Replace UCMType::getType() by UCMType::getTypeByAlias($this->alias) (…
csthomas Jun 12, 2018
cfb6028
JTableAsset::loadByName(): replace two sql queries by one (#20671)
csthomas Jun 12, 2018
eedb57b
Display 404 page if banner not found (#20664)
Jun 12, 2018
0a7b023
Update strings (#20591)
SharkyKZ Jun 12, 2018
ae7f4ca
Fix stale session data wrongly overriding configuration file when edi…
ggppdk Jun 12, 2018
37535b1
[com_menus] - fix php warning (#18471)
alikon Jun 12, 2018
6f15fb9
Singular not plural (#20751)
brianteeman Jun 14, 2018
8afc860
[com_tags] Image caption in Tags view (#20648)
SharkyKZ Jun 14, 2018
421749c
Put all build packages in one directory (#20745)
mbabker Jun 15, 2018
f9bfcec
[com_tags] Tagged item link in feed (#20723)
SharkyKZ Jun 16, 2018
1fcf30c
[mod_tags_similar] Link cleanup (#20730)
SharkyKZ Jun 16, 2018
9492d56
Com_finder meta data (#20772)
brianteeman Jun 16, 2018
5167b85
Add UTF-8 encoding to phpcs in .drone.yml (#20769)
photodude Jun 16, 2018
e0549de
Login to view the article redirect fix (#20732)
panopt Jun 18, 2018
02b0ce9
Mouse over edit - rename (#20743)
brianteeman Jun 18, 2018
be43107
Better mode autoloading. (#20746)
okonomiyaki3000 Jun 18, 2018
7f48939
Respect access of editor plugin inside profile form (#20713)
ggppdk Jun 18, 2018
a8b032a
Additional Escaping Of Paths In com_media (#20616)
PhilETaylor Jun 18, 2018
f583345
[com_tags] Images in Tagged Items view (#20601)
SharkyKZ Jun 18, 2018
7a33abe
[com_contenthistory] - fix for not delete keep forever items (#20430)
alikon Jun 18, 2018
6770b31
Fixing com_fields integration in com_contact (#20413)
artur-stepien Jun 18, 2018
43189c3
enable mod_sampledata extension
Jun 19, 2018
9ae0742
[ModuleHelper] owncache param as integer (#20626)
SharkyKZ Jun 20, 2018
1464229
Changed return 0 to continue
Jun 20, 2018
c8dbb9e
Merge pull request #20805 from conflate-nl/staging
wilsonge Jun 20, 2018
1c63e2c
Merge pull request #20797 from Bakual/EnableSampleDataModule
infograf768 Jun 21, 2018
7a8795d
[mod_articles_category] Fatal error (#20834)
SharkyKZ Jun 22, 2018
fb78518
Prepare 3.8.9 Release Candidate
Jun 22, 2018
a164123
Reset for dev
Jun 22, 2018
d3fb98c
Very small language file cs (#20844)
infograf768 Jun 23, 2018
8ac0acd
Whitelist allowed global access
Jun 26, 2018
a37f015
Bump joomla/input package
Jun 26, 2018
caa6bf0
Use new method for dynamically resolving Input based on request method
Jun 26, 2018
e4ef993
Prepare 3.8.9 release
Jun 26, 2018
40644f9
Reset for development
Jun 26, 2018
540f299
Fix the autoloader for Windows platforms (#20877)
mbabker Jun 26, 2018
b7cfa01
Prepare 3.8.10 release
Jun 26, 2018
9d5e061
Reset for dev, again
Jun 26, 2018
8383f60
Don't delete file that is still in use (Fix #20881)
mbabker Jun 26, 2018
b22e63b
[plg_user_profile] Add RTL check to ToS field
SharkyKZ Jun 27, 2018
1f3fba8
FIX: Install Languages Manager language badges wrongly set to not mat…
infograf768 Jun 29, 2018
bbaff21
Replace the URL parameter "limitstart=0" with "start=0" if the SEF mo…
csthomas Jun 29, 2018
8ac66ea
Remove non callable array items from field categories (#20093)
tonypartridge Jun 29, 2018
b72380f
[Site Modules] Manifest file filters, part 1 (#20845)
SharkyKZ Jun 29, 2018
6decd56
[cs] leading spaces (#20858)
brianteeman Jun 29, 2018
9e7e8c2
[Site Modules] Manifest file filters, part 2 (#20856)
SharkyKZ Jun 29, 2018
ae733d9
[Site Modules] Manifest file filters, part 3 (#20857)
SharkyKZ Jun 29, 2018
899e7c9
[Admin Modules] Manifest file filters (#20868)
SharkyKZ Jun 29, 2018
fb3e3f7
Fix OpenSearch implementation
Hackwar Jun 30, 2018
b46e6b0
[mod_articles_category] Showon
SharkyKZ Jul 2, 2018
3ce5d63
Add showon to levels
SharkyKZ Jul 2, 2018
35e8db5
Update string
SharkyKZ Jul 2, 2018
20eeef5
Remove CSS
SharkyKZ Jul 3, 2018
bf4c7dc
Merge pull request #20950 from SharkyKZ/modArticlesCategoryShowon
mbabker Jul 7, 2018
a010e1c
Merge pull request #20937 from Hackwar/patch-28
mbabker Jul 7, 2018
9007811
Merge pull request #20894 from SharkyKZ/plg_user_profile_rtl
mbabker Jul 7, 2018
a1afb5a
Add security issue template
mbabker Jul 11, 2018
c3349f2
Formatting
mbabker Jul 11, 2018
8d2a2e3
Let the table check the data before storing.
Jul 11, 2018
364c9e8
[Templates] Escape sitename (#21008)
SharkyKZ Jul 11, 2018
2648ed0
Checking return value and catching whole stuff
Jul 12, 2018
158ba36
Updating Bosnian installation language files
Jul 12, 2018
411f4ab
Merge pull request #21080 from Bakual/FixSampledataMenuCreation
infograf768 Jul 13, 2018
bbd7bdd
Updated 3.9-dev and added 3.10-dev (#21097)
jeckodevelopment Jul 13, 2018
aba23aa
Exceptions in Joomla\CMS\Table\Usergroup refer to categories (#21098)
brianteeman Jul 13, 2018
0c59b29
Deprecate sef_advanced strings (#21116)
SharkyKZ Jul 14, 2018
136171e
[com_content] Featured articles tag filtering (#21138)
SharkyKZ Jul 16, 2018
7279924
Update ModuleHelper.php (#20273)
SharkyKZ Jul 16, 2018
3d713fe
The JPATH_ constants are not magic strings (#21151)
mbabker Jul 19, 2018
7b73d5f
Remove if/else in user debug models that can never hit else condition…
mbabker Jul 20, 2018
4d73178
[com_content] Featured articles access filter (#21168)
SharkyKZ Jul 21, 2018
8655c2c
Media manager doesn't obey relative pathes for video files (#21156)
wojsmol Jul 21, 2018
d6e33a4
Speed up regex in emailcloak plugin (#20956)
csthomas Jul 21, 2018
98f947a
Fix subform.repeatable-table multi field styling (#20209)
ciar4n Jul 21, 2018
7ce46ec
Update FormField.php (#20168)
eshiol Jul 21, 2018
1ba7727
Update HTMLHelper.php (#19770)
ReLater Jul 21, 2018
54d5b93
Fix a problem with older Joomla versions language packs registration …
klas Jul 21, 2018
07239d4
missing single quote (#21213)
infograf768 Jul 22, 2018
d46391e
Add a note field from the #__fields_groups table to the field list query
rigin May 3, 2017
044e044
[3.x FIX] Getting the correct associations in sidebyside view for con…
infograf768 Jul 24, 2018
dc6c907
[com_menus] Remove useglobal (#21095)
SharkyKZ Jul 24, 2018
f79cb14
[fix] fixed PluginHelper import of xtd-editors plugins (#17907)
julienV Jul 24, 2018
f4efdc7
Fix errors exposed by strict (#12544)
okonomiyaki3000 Jul 24, 2018
4a7a58e
[3.8] Make the text clearer (#20940)
wojsmol Jul 24, 2018
d9a278d
Adding lithuan language files.
Jul 25, 2018
e6d6116
Updating lithuanian language strings for TinyMCE
Jul 25, 2018
dbb668c
Appended input fields (#21257)
brianteeman Jul 25, 2018
343c1b4
CSS for flags (#21254)
brianteeman Jul 25, 2018
359bb18
Add "Reviewed by Hound" badge (#21263)
salbertson Jul 27, 2018
ab4f245
Adjust doc block to ensure file is included in patch packages due to …
Jul 27, 2018
cfa2021
Prepare 3.8.11 release candidate
Jul 27, 2018
aa34c79
Reset to dev
Jul 27, 2018
603db7e
Prepare 3.8.11 release
Jul 31, 2018
9b9be8f
Bump to 3.8.12-dev
Jul 31, 2018
c1bb864
Added security scan tool to CI setup (#20796)
SniperSister Aug 1, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix GMail plugin so it doesn't crash and burn on 4.0 upgrades (joomla…
  • Loading branch information
mbabker authored and laoneo committed Apr 3, 2018
commit 2a32a7528222930a7ee4d0948d2a8688a2228ff7
17 changes: 10 additions & 7 deletions plugins/authentication/gmail/gmail.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

defined('_JEXEC') or die;

use Joomla\CMS\Authentication\AuthenticationResponse;
use Joomla\Registry\Registry;

/**
Expand All @@ -21,11 +22,11 @@ class PlgAuthenticationGMail extends JPlugin
/**
* This method should handle any authentication and report back to the subject
*
* @param array $credentials Array holding the user credentials
* @param array $options Array of extra options
* @param object &$response Authentication response object
* @param array $credentials Array holding the user credentials
* @param array $options Array of extra options
* @param AuthenticationResponse &$response Authentication response object
*
* @return boolean
* @return void
*
* @since 1.5
*/
Expand Down Expand Up @@ -121,9 +122,11 @@ public function onUserAuthenticate($credentials, $options, &$response)
}
catch (Exception $e)
{
// If there was an error in the request then create a 'false' dummy response.
$result = new JHttpResponse;
$result->code = false;
$response->status = JAuthentication::STATUS_FAILURE;
$response->type = 'GMail';
$response->error_message = JText::sprintf('JGLOBAL_AUTH_FAILED', JText::_('JGLOBAL_AUTH_UNKNOWN_ACCESS_DENIED'));

return;
}

$code = $result->code;
Expand Down