Addshore has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/309970

Change subject: Fix string concatination
......................................................................

Fix string concatination

Change-Id: I471f04c16be8fc443eb3822f1a317260285bd859
---
M LoginNotify_body.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/LoginNotify 
refs/changes/70/309970/1

diff --git a/LoginNotify_body.php b/LoginNotify_body.php
index 436e518..d70bd0a 100644
--- a/LoginNotify_body.php
+++ b/LoginNotify_body.php
@@ -48,7 +48,7 @@
                        $this->secret = $this->config->get( 
'LoginNotifySecretKey' );
                } else {
                        $globalSecret = $this->config->get( 'SecretKey' );
-                       $this->secret = hash( 'sha256', $globalSecret + 
'LoginNotify' );
+                       $this->secret = hash( 'sha256', $globalSecret . 
'LoginNotify' );
                }
 
                $log = LoggerFactory::getInstance( 'LoginNotify' );

-- 
To view, visit https://gerrit.wikimedia.org/r/309970
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I471f04c16be8fc443eb3822f1a317260285bd859
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/LoginNotify
Gerrit-Branch: master
Gerrit-Owner: Addshore <addshorew...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to